From: Tejun Heo Date: Tue, 24 Feb 2009 02:57:21 +0000 (+0900) Subject: percpu: remove unit_size power-of-2 restriction X-Git-Tag: v2.6.30-rc1~2^2~50^2~19^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d9b55eeb1d55ef2dc5a4fdbff9604c2c68cb5649;p=pandora-kernel.git percpu: remove unit_size power-of-2 restriction Impact: allow unit_size to be arbitrary multiple of PAGE_SIZE In dynamic percpu allocator, there is no reason the unit size should be power of two. Remove the restriction. As non-power-of-two unit size means that empty chunks fall into the same slot index as lightly occupied chunks which is bad for reclaming. Reserve an extra slot for empty chunks. Signed-off-by: Tejun Heo --- Reading git-diff-tree failed