Messages in this thread | | | Date | Wed, 11 Jun 2008 14:06:15 +0200 | From | Andi Kleen <> | Subject | Re: [PATCH -mm 13/25] Noreclaim LRU Infrastructure |
| |
> 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
| |