Re: [PATCH -mm 13/25] Noreclaim LRU Infrastructure

Andi Kleen
2008-06-11T12:06:15Z

> Andi has suggested that we can remove the node-ID encoding from
> page.flags on x86 because that info is available elsewhere, although a
> bit more slowly.
>
> <looks at page_zone(), wonders whether we care about performance anyway>

It would be just pfn_to_nid(page_pfn(page)) for 32bit && CONFIG_NUMA.
-sh should have that too.

Only trouble is that it needs some reordering because right now page_pfn
is not defined early enough.

> There wouldn't be much point in doing that unless we did it for all
> 32-bit architectures. How much trouble would it cause sh?

Probably very little from a quick look at the source.

-Andi