From: Andy Whitcroft Date: Thu, 7 Dec 2006 04:33:32 +0000 (-0800) Subject: [PATCH] mm: make compound page destructor handling explicit X-Git-Tag: v2.6.20-rc1~145^2^2~299 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=33f2ef89f8e181486b63fdbdc97c6afa6ca9f34b;p=pandora-kernel.git [PATCH] mm: make compound page destructor handling explicit Currently we we use the lru head link of the second page of a compound page to hold its destructor. This was ok when it was purely an internal implmentation detail. However, hugetlbfs overrides this destructor violating the layering. Abstract this out as explicit calls, also introduce a type for the callback function allowing them to be type checked. For each callback we pre-declare the function, causing a type error on definition rather than on use elsewhere. [akpm@osdl.org: cleanups] Signed-off-by: Andy Whitcroft Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed