Re: Pinning kernel memory

From: Rik van Riel (
Date: Thu Dec 12 2002 - 15:15:15 EST

On Thu, 12 Dec 2002, Thomas Schlichter wrote:

> I want to create a big area of unswappable, physical continuous kernel memory
> for hardware testing purposes. Currently I allocate the memory using
> alloc_pages(GFP_KERNEL, order) and after this I pin it using
> SetPageReserved(page) for each page.

Kernel memory is never swappable, so there is no need to "pin it".


Bravely reimplemented by the knights who say "NIH".
Current spamtrap:  <a href=mailto:""></a>
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 : Sun Dec 15 2002 - 22:00:25 EST