Re: [PATCH 1/1] handle initialising compound pages at orders greater than MAX_ORDER

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andrew Morton
Date: Thursday, October 2, 2008 - 2:30 pm

On Thu,  2 Oct 2008 17:19:56 +0100
Andy Whitcroft <apw@shadowen.org> wrote:


gad.  Wouldn't it be clearer to do

	for (i = 1; i < nr_pages; i++) {
		struct page *p = pfn_to_page(i);
		__SetPageTail(p);
		p->first_page = page;
	}

Oh well, I guess we can go with the obfuscated, uncommented version for
now :(

This patch applies to 2.6.26 (and possibly earlier) but I don't think
those kernels can trigger the bug?

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 1/1] handle initialising compound pages at orde ..., Andrew Morton, (Thu Oct 2, 2:30 pm)