slab: Make allocations with GFP_ZERO slightly more efficient
authorJoe Perches <joe@perches.com>
Wed, 11 Sep 2013 00:02:51 +0000 (17:02 -0700)
committerPekka Enberg <penberg@kernel.org>
Sat, 8 Feb 2014 10:19:02 +0000 (12:19 +0200)
Use the likely mechanism already around valid
pointer tests to better choose when to memset
to 0 allocations with __GFP_ZERO

Acked-by: Christoph Lameter <cl@linux.com>
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>

No differences found