From: Benjamin LaHaise <bcrl@redhat.com>
To: "Sottek, Matthew J" <matthew.j.sottek@intel.com>
Cc: "'linux-kernel@vger.kernel.org'" <linux-kernel@vger.kernel.org>
Subject: Re: zap_page_range in a module
Date: Fri, 14 Dec 2001 17:30:45 -0500 [thread overview]
Message-ID: <20011214173045.C26535@redhat.com> (raw)
In-Reply-To: <C8C7DD4157F2D411AC7000A0C96B1522016C37D4@fmsmsx58.fm.intel.com>
In-Reply-To: <C8C7DD4157F2D411AC7000A0C96B1522016C37D4@fmsmsx58.fm.intel.com>; from matthew.j.sottek@intel.com on Fri, Dec 14, 2001 at 01:26:29PM -0800
On Fri, Dec 14, 2001 at 01:26:29PM -0800, Sottek, Matthew J wrote:
> currently can only work when compiled into the kernel because I need
> zap_page_rage(). Is there an acceptable way for me to get equivalent
> functionality in a module so that this will be more useful to the
> general public?
The vm does zap_page_range for you if you're implementing an mmap operation,
otherwise vmalloc/vfree/vremap will take care of the details for you. How
is your code using zap_page_range? It really shouldn't be.
-ben
next prev parent reply other threads:[~2001-12-14 22:31 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-14 21:26 zap_page_range in a module Sottek, Matthew J
2001-12-14 22:30 ` Benjamin LaHaise [this message]
2001-12-17 9:32 ` Martin Diehl
-- strict thread matches above, loose matches on Subject: below --
2001-12-15 2:10 Sottek, Matthew J
2001-12-15 2:31 ` Benjamin LaHaise
2001-12-17 9:32 ` Martin Diehl
2001-12-18 13:04 ` Helge Hafting
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=20011214173045.C26535@redhat.com \
--to=bcrl@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=matthew.j.sottek@intel.com \
/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