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@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
![]() |