Dan Malek wrote:
Michel Dänzer wrote:
quoted
No, that's not the problem, pagelist is struct page ** :-/ (and pagelist is
allocated)
Then, what the heck were you trying to print out with that
piece of code, and who further down the food chain uses
the page struct?
-- Dan
Some VM code later on uses the page struct to return the correct value
from vma_nopage. This code supports userland mappings, not just kernel
mappings. We could of course just use phys_to_page/virt_to_page in the
vma_nopage code, but struct page works just fine.
-Jeff
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/