Messages in this thread | | | Date | Thu, 12 Dec 2002 18:15:15 -0200 (BRST) | From | Rik van Riel <> | Subject | Re: Pinning kernel memory |
| |
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".
Rik -- Bravely reimplemented by the knights who say "NIH". http://www.surriel.com/ http://guru.conectiva.com/ Current spamtrap: <a href=mailto:"october@surriel.com">october@surriel.com</a> - 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/
| |