Skip to content
Commit 7fd27255 authored by Linus Torvalds's avatar Linus Torvalds
Browse files

Avoid double memclear() in SLOB/SLUB



Both slob and slub react to __GFP_ZERO by clearing the allocation, which
means that passing the GFP_ZERO bit down to the page allocator is just
wasteful and pointless.

Acked-by: default avatarMatt Mackall <mpm@selenic.com>
Reviewed-by: default avatarPekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 94545bad
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment