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

Linus Torvalds
2005-08-09T20:51:55Z

On Tue, 9 Aug 2005, Russell King wrote:

> On Tue, Aug 09, 2005 at 07:38:52AM -0700, Martin J. Bligh wrote:
> > pfn_valid() doesn't tell you it's RAM or not - it tells you whether you
> > have a backing struct page for that address. Could be an IO mapped device,
> > a small memory hole, whatever.
>
> The only things which have a struct page is RAM. Nothing else does.

That's not true.

We have "struct page" show up for the ISA legacy MMIO region too, for
example.

Linus