diff options
author | Joe Perches <joe@perches.com> | 2013-09-11 02:02:51 +0200 |
---|---|---|
committer | Pekka Enberg <penberg@kernel.org> | 2014-02-08 11:19:02 +0100 |
commit | 5087c8229986cc502c807a15f8ea416b0ef22346 (patch) | |
tree | ad1380499f4d5b8e732fef94ebc8fa248f374a38 /mm/slub.c | |
parent | slab: make more slab management structure off the slab (diff) | |
download | linux-5087c8229986cc502c807a15f8ea416b0ef22346.tar.xz linux-5087c8229986cc502c807a15f8ea416b0ef22346.zip |
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: Christoph Lameter <cl@linux.com>
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
Diffstat (limited to 'mm/slub.c')
0 files changed, 0 insertions, 0 deletions