[Dri-devel] PPC Lockup (ati-pcigart-branch)

Jeff Hartmann jhartmann at valinux.com
Tue Jan 23 05:44:52 EST 2001


Dan Malek wrote:

> Michel Dänzer wrote:
>
>> 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/





More information about the Linuxppc-dev mailing list