Re: [RFC][patch 0/2] mm: remove PageReserved

Martin J. Bligh
2005-08-10T21:56:41Z

--On Wednesday, August 10, 2005 23:50:22 +0200 Pavel Machek <pavel@suse.cz> wrote:

> Hi!
>
>> > Swsusp is the main "is valid ram" user I have in mind here. It
>> > wants to know whether or not it should save and restore the
>> > memory of a given `struct page`.
>>
>> Why can't it follow the rmap chain?
>
> It is walking physical memory, not memory managment chains. I need
> something like:

Can you not use page_is_ram(pfn) ?

M.