Re: zap_page_range in a module

From: Benjamin LaHaise (
Date: Fri Dec 14 2001 - 17:30:45 EST

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.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Sat Dec 15 2001 - 21:00:29 EST