From: Christoph Lameter Date: Wed, 23 Jan 2013 21:45:48 +0000 (+0000) Subject: slub: tid must be retrieved from the percpu area of the current processor X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~15^2^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7cccd80b4397699902aced1ad3d692d384aaab77;p=pandora-kernel.git slub: tid must be retrieved from the percpu area of the current processor As Steven Rostedt has pointer out: rescheduling could occur on a different processor after the determination of the per cpu pointer and before the tid is retrieved. This could result in allocation from the wrong node in slab_alloc(). The effect is much more severe in slab_free() where we could free to the freelist of the wrong page. The window for something like that occurring is pretty small but it is possible. Signed-off-by: Christoph Lameter Signed-off-by: Pekka Enberg --- Reading git-diff-tree failed