diff options
author | Joe Perches <[email protected]> | 2013-09-10 17:02:51 -0700 |
---|---|---|
committer | Pekka Enberg <[email protected]> | 2014-02-08 12:19:02 +0200 |
commit | 5087c8229986cc502c807a15f8ea416b0ef22346 (patch) | |
tree | ad1380499f4d5b8e732fef94ebc8fa248f374a38 /tools/perf/util/annotate.c | |
parent | 8fc9cf420b369ad1d8c2e66fb552a985c4676073 (diff) |
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 <[email protected]>
Signed-off-by: Joe Perches <[email protected]>
Signed-off-by: Pekka Enberg <[email protected]>
Diffstat (limited to 'tools/perf/util/annotate.c')
0 files changed, 0 insertions, 0 deletions