Re: zap_page_range in a module

Benjamin LaHaise (bcrl@redhat.com)
Fri, 14 Dec 2001 17:30:45 -0500


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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/