Re: [RFC] virtual memmap for sparsemem [1/2] arch independent part

From: Christoph Lameter <clameter_at_sgi.com>
Date: 2006-10-20 12:26:33
On Fri, 20 Oct 2006, KAMEZAWA Hiroyuki wrote:

> By the way, we have to make sizeof(struct page) as (1 << x) aligned size to use
> large-sized page. (IIRC, my gcc-3.4.3 says it is 56bytes....)

Having it 1 << x would be useful to simplify the pfn_valid check but 
you can also check the start and the end of the page struct to allow the 
page struct cross a page boundary. See the ia64 virtual memmap 
implementation of pfn_valid.

-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Fri Oct 20 12:26:57 2006

This archive was generated by hypermail 2.1.8 : 2006-10-20 12:27:14 EST