x86: Remove remap percpu allocator for the time being
authorTejun Heo <tj@kernel.org>
Mon, 25 May 2009 03:01:59 +0000 (12:01 +0900)
committerIngo Molnar <mingo@elte.hu>
Mon, 25 May 2009 03:37:55 +0000 (05:37 +0200)
commit71c9d8b68b299bef614afc7907393564a9f1476f
treead92b85c7e8e6542391e5dbef4be71efc4d2a20d
parent0af48f42df15b97080b450d24219dd95db7b929a
x86: Remove remap percpu allocator for the time being

Remap percpu allocator has subtle bug when combined with page
attribute changing.  Remap percpu allocator aliases PMD pages for the
first chunk and as pageattr doesn't know about the alias it ends up
updating page attributes of the original mapping thus leaving the
alises in inconsistent state which might lead to subtle data
corruption.  Please read the following threads for more information:

  http://thread.gmane.org/gmane.linux.kernel/835783

The following is the proposed fix which teaches pageattr about percpu
aliases.

  http://thread.gmane.org/gmane.linux.kernel/837157

However, the above changes are deemed too pervasive for upstream
inclusion for 2.6.30 release, so this patch essentially disables
the remap allocator for the time being.

Signed-off-by: Tejun Heo <tj@kernel.org>
LKML-Reference: <4A1A0A27.4050301@kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/setup_percpu.c