Alexey Dobriyan
d5f866550d
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/20180305200730.15812-7-adobriyan@gmail.com
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Acked-by: Christoph Lameter <cl@linux.com>
Cc: Pekka Enberg <penberg@kernel.org>
Cc: David Rientjes <rientjes@google.com>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2018-04-05 21:36:23 -07:00
..
2018-02-14 13:11:14 +01:00
2017-12-21 10:01:30 -07:00
2017-11-14 23:57:38 +02:00
2018-02-06 18:32:48 -08:00
2017-06-05 16:59:12 +02:00
2017-11-02 11:10:55 +01:00
2017-11-15 18:21:03 -08:00
2017-11-02 11:10:55 +01:00
2018-01-31 17:18:39 -08:00
2017-11-02 11:10:55 +01:00
2018-01-04 16:45:09 -08:00
2017-02-27 18:43:47 -08:00
2017-12-11 14:54:44 +01:00
2018-04-02 20:16:10 +02:00
2017-11-02 11:10:55 +01:00
2018-01-31 17:18:36 -08:00
2017-12-14 16:00:48 -08:00
2016-07-26 16:19:19 -07:00
2017-11-17 16:10:04 -08:00
2018-03-09 16:40:01 -08:00
2017-11-02 11:10:55 +01:00
2018-02-06 10:41:33 -08:00
2018-03-22 17:07:02 -07:00
2016-05-20 17:58:30 -07:00
2018-03-22 17:07:01 -07:00
2018-01-23 12:17:42 -06:00
2017-11-02 11:10:55 +01:00
2017-11-29 09:01:01 -08:00
2018-01-31 17:18:37 -08:00
2018-03-26 15:55:57 +02:00
2017-11-15 18:21:05 -08:00
2018-03-22 17:07:02 -07:00
2016-03-17 15:09:34 -07:00
2018-03-28 13:42:05 -10:00
2018-03-18 07:38:48 -07:00
2017-11-15 18:21:07 -08:00
2018-02-06 18:32:48 -08:00
2018-01-23 12:17:42 -06:00
2017-11-17 16:10:04 -08:00
2018-03-22 17:07:01 -07:00
2018-03-28 13:42:05 -10:00
2018-02-06 10:41:33 -08:00
2018-02-13 16:25:06 +01:00
2018-03-18 07:38:45 -07:00
2018-04-02 21:22:12 -07:00
2018-02-06 18:32:43 -08:00
2017-11-02 11:10:55 +01:00
2018-04-02 20:15:32 +02:00
2017-11-02 11:10:55 +01:00
2018-02-21 15:35:42 -08:00
2016-03-17 15:09:34 -07:00
2018-04-02 20:16:11 +02:00
2017-03-02 08:42:38 +01:00
2018-01-31 17:18:38 -08:00
2017-11-02 11:10:55 +01:00
2018-03-18 07:38:47 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-04-02 21:22:12 -07:00
2018-01-31 17:18:38 -08:00
2018-04-02 20:20:12 -07:00
2017-11-02 11:10:55 +01:00
2018-01-31 17:18:39 -08:00
2017-11-02 11:10:55 +01:00
2018-01-06 09:18:00 -07:00
2017-11-15 18:21:02 -08:00
2018-03-28 13:42:05 -10:00
2017-11-02 11:10:55 +01:00
2018-01-22 12:15:57 -08:00
2017-11-29 18:40:43 -08:00
2018-02-06 18:32:48 -08:00
2017-11-02 11:10:55 +01:00
2018-02-18 05:33:01 -08:00
2017-09-27 14:45:57 -07:00
2018-02-18 05:33:01 -08:00
2018-04-02 20:20:12 -07:00
2018-01-31 17:18:38 -08:00
2018-02-06 18:32:48 -08:00
2017-11-02 11:10:55 +01:00
2018-04-02 20:16:12 +02:00
2018-03-18 07:38:45 -07:00
2017-10-03 17:54:24 -07:00
2018-03-22 17:07:01 -07:00
2018-04-05 21:36:23 -07:00
2018-04-05 21:36:23 -07:00
2018-04-05 21:36:23 -07:00
2017-11-15 18:21:01 -08:00
2018-04-05 21:36:23 -07:00
2018-01-08 11:46:23 -08:00
2018-04-02 20:20:12 -07:00
2017-11-02 11:10:55 +01:00
2017-11-15 18:21:03 -08:00
2017-11-15 18:21:06 -08:00
2018-02-21 15:35:43 -08:00
2018-02-11 14:34:03 -08:00
2018-01-31 17:18:37 -08:00
2018-01-15 12:07:48 -08:00
2018-02-06 18:32:47 -08:00
2018-01-07 13:06:15 -05:00
2017-11-02 11:10:55 +01:00
2018-02-21 15:35:43 -08:00
2017-07-10 16:32:31 -07:00
2018-03-22 17:07:01 -07:00
2018-03-28 13:42:05 -10:00
2017-11-15 18:21:06 -08:00
2018-02-06 18:32:48 -08:00
2018-02-06 18:32:48 -08:00
2018-02-21 15:35:43 -08:00
2018-02-14 13:11:13 +01:00
2018-02-21 15:35:43 -08:00