diff options
author | Alexey Dobriyan <[email protected]> | 2018-04-05 16:20:40 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2018-04-05 21:36:23 -0700 |
commit | d5f866550df237861f9d59ca0206434b0dea9701 (patch) | |
tree | 5a410c065c5b77affe3cc98b7e103cc675a15c1b /include/linux/fpga/fpga-bridge.h | |
parent | f4957d5bd09165b165df851fbf8c658f7fcd9922 (diff) |
slab: make size_index[] array u8
All those small numbers are reverse indexes into kmalloc caches array
and can't be negative.
On x86_64 "unsigned int = fls()" can drop CDQE instruction:
add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-2 (-2)
Function old new delta
kmalloc_slab 101 99 -2
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Alexey Dobriyan <[email protected]>
Acked-by: Christoph Lameter <[email protected]>
Cc: Pekka Enberg <[email protected]>
Cc: David Rientjes <[email protected]>
Cc: Joonsoo Kim <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-bridge.h')
0 files changed, 0 insertions, 0 deletions