Lock the page

From: hochakhung@netscape.net
Date: Thu Jul 26 2001 - 21:55:39 EST


After getting a page from alloc_pages(mask, order), is it necessary to lock the page to prevent it from being swapped out? Can I assume that I already have exclusive access to the page? Can I assume that the page is free and no other kernel control paths would use it?

Any help would be greatly appreciated

Thanks

__________________________________________________________________
Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/

Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/

-
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/



This archive was generated by hypermail 2b29 : Tue Jul 31 2001 - 21:00:30 EST