summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorChristoph Lameter <cl@linux.com>2010-08-20 12:37:17 -0500
committerPekka Enberg <penberg@kernel.org>2010-10-02 10:24:27 +0300
commitc1d508365ea07f9f8849c7da5b02186601570f8b (patch)
treea087b2cda4546c51ef7ab4ba3c7764129a63e555 /kernel
parentc016b0bdeee74a7fbe5179937c0d667eabcf379e (diff)
downloadblackbird-op-linux-c1d508365ea07f9f8849c7da5b02186601570f8b.tar.gz
blackbird-op-linux-c1d508365ea07f9f8849c7da5b02186601570f8b.zip
slub: Move gfpflag masking out of the hotpath
Move the gfpflags masking into the hooks for checkers and into the slowpaths. gfpflag masking requires access to a global variable and thus adds an additional cacheline reference to the hotpaths. If no hooks are active then the gfpflag masking will result in code that the compiler can toss out. Acked-by: David Rientjes <rientjes@google.com> Signed-off-by: Christoph Lameter <cl@linux-foundation.org> Signed-off-by: Pekka Enberg <penberg@kernel.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud