From: Zoltan Menyhart <Zoltan.Menyhart_AT_bull.net@nospam.org>
To: linux-kernel@vger.kernel.org
Subject: To kunmap_atomic or not to kunmap_atomic ?
Date: Thu, 01 Apr 2004 18:30:28 +0200 [thread overview]
Message-ID: <406C43A4.E29F92FB@nospam.org> (raw)
In-Reply-To: Pine.LNX.4.58.0404010734020.18465@build.arklinux.oregonstate.edu
I can see a couple of functions, like
static inline struct mm_struct * ptep_to_mm(pte_t * ptep)
{
struct page * page = kmap_atomic_to_page(ptep);
return (struct mm_struct *) page->mapping;
}
in "rmap.?" without invoking "kunmap_atomic()".
Is it intentional?
What if for an architecture "kunmap_atomic()" is not a no-op ?
Thanks,
Zoltan Menyhart
next prev parent reply other threads:[~2004-04-01 16:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-01 15:37 2.4.26-rc1-pac1 bero
2004-04-01 16:30 ` Zoltan Menyhart [this message]
2004-04-01 16:49 ` To kunmap_atomic or not to kunmap_atomic ? Hugh Dickins
2004-04-02 14:15 ` Zoltan Menyhart
2004-04-02 15:10 ` Hugh Dickins
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=406C43A4.E29F92FB@nospam.org \
--to=zoltan.menyhart_at_bull.net@nospam.org \
--cc=Zoltan.Menyhart@bull.net \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox