Re: [RFC][patch 0/2] mm: remove PageReserved
From: Rafael J. Wysocki <hidden>
Date: 2005-08-09 10:19:13
Also in:
lkml
On Tuesday, 9 of August 2005 11:31, Nick Piggin wrote:
Arjan van de Ven wrote:quoted
On Tue, 2005-08-09 at 08:08 +0100, Russell King wrote:quoted
quoted
Can we straighten out the terminology so it's less confusing please?and..... can we make a general page_is_ram() function that does what it says? on x86 it can go via the e820 table, other architectures can do whatever they need....That would be very helpful. That should cover the remaining (ab)users of PageReserved. It would probably be fastest to implement this with a page flag, however if swsusp and ioremap are the only users then it shouldn't be a problem to go through slower lookups (and this would remove the need for the PageValidRAM flag that I had worried about earlier).
I think swsusp can be modified to use PageNosave only and everything that is not to be touched by swsusp should be marked as no-save. Greets, Rafael -- - Would you tell me, please, which way I ought to go from here? - That depends a good deal on where you want to get to. -- Lewis Carroll "Alice's Adventures in Wonderland" -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>