Re: [PATCH] Documenation/vm/numa

From: Eric W. Biederman (ebiederm@xmission.com)
Date: Fri Apr 19 2002 - 15:25:50 EST


"Martin J. Bligh" <Martin.Bligh@us.ibm.com> writes:
>
> Note that there are two possible ways to define a pfn, in my mind.
> One would be page_phys_addr >> PAGE_SHIFT. The other would be the
> offset of the struct page for that page within the mythical mem_map
> array. I prefer the former, though it probably contradicts everyone
> else ;-) It's useful to have some way to pass around a 36 bit address
> inside a 32 bit field.

A page frame number (pfn) is definitely the former
(page_phys_addr >> PAGE_SHIFT).

Eric
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Apr 23 2002 - 22:00:25 EST