Skip to content
Commit 5087c822 authored by Joe Perches's avatar Joe Perches Committed by Pekka Enberg
Browse files

slab: Make allocations with GFP_ZERO slightly more efficient



Use the likely mechanism already around valid
pointer tests to better choose when to memset
to 0 allocations with __GFP_ZERO

Acked-by: default avatarChristoph Lameter <cl@linux.com>
Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarPekka Enberg <penberg@kernel.org>
parent 8fc9cf42
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment