Ayush Mittal
682f1453ec
kernfs: Allocating memory for kernfs_iattrs with kmem_cache.
...
Creating a new cache for kernfs_iattrs.
Currently, memory is allocated with kzalloc() which
always gives aligned memory. On ARM, this is 64 byte aligned.
To avoid the wastage of memory in aligning the size requested,
a new cache for kernfs_iattrs is created.
Size of struct kernfs_iattrs is 80 Bytes.
On ARM, it will come in kmalloc-128 slab.
and it will come in kmalloc-192 slab if debug info is enabled.
Extra bytes taken 48 bytes.
Total number of objects created : 4096
Total saving = 48*4096 = 192 KB
After creating new slab(When debug info is enabled) :
sh-3.2# cat /proc/slabinfo
...
kernfs_iattrs_cache 4069 4096 128 32 1 : tunables 0 0 0 : slabdata 128 128 0
...
All testing has been done on ARM target.
Signed-off-by: Ayush Mittal <ayush.m@samsung.com >
Signed-off-by: Vaneet Narang <v.narang@samsung.com >
Acked-by: Tejun Heo <tj@kernel.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Signed-off-by: UtsavisGreat <utsavbalar1231@gmail.com >
Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com >
2020-06-25 11:25:45 +05:30
..
2019-10-11 19:10:13 +02:00
2019-08-06 19:05:21 +02:00
2020-01-27 14:46:52 +01:00
2020-04-03 08:18:27 +02:00
2019-12-17 20:37:24 +01:00
2018-12-01 09:42:51 +01:00
2020-06-21 14:18:44 +05:30
2020-06-03 08:17:53 +02:00
2020-05-28 12:17:10 +02:00
2020-06-03 08:17:55 +02:00
2019-08-06 19:05:23 +02:00
2020-05-27 16:42:56 +02:00
2018-11-13 11:15:12 -08:00
2020-06-15 10:58:27 +05:30
2020-06-15 20:42:49 +05:30
2019-03-23 14:35:21 +01:00
2019-12-17 20:38:33 +01:00
2020-06-16 10:46:21 +05:30
2019-12-05 15:48:19 +01:00
2020-01-27 14:46:06 +01:00
2020-06-16 10:46:20 +05:30
2020-06-21 14:18:44 +05:30
2020-06-15 11:14:36 +05:30
2020-06-21 14:18:44 +05:30
2018-12-17 09:28:53 +01:00
2019-12-17 21:13:36 +01:00
2020-06-03 13:37:46 +02:00
2019-12-01 09:13:57 +01:00
2020-04-24 08:00:45 +02:00
2019-05-31 06:47:12 -07:00
2020-06-09 15:27:37 +00:00
2018-10-03 17:00:57 -07:00
2020-04-24 08:00:54 +02:00
2019-05-08 07:20:49 +02:00
2020-01-27 14:46:26 +01:00
2020-06-25 11:25:45 +05:30
2019-12-17 21:13:36 +01:00
2018-03-28 18:24:43 +02:00
2020-06-16 10:46:20 +05:30
2018-02-03 17:39:08 +01:00
2020-05-02 17:24:41 +02:00
2020-06-21 14:14:12 +05:30
2020-01-12 12:24:05 +01:00
2020-04-24 08:41:10 +02:00
2020-02-28 16:36:08 +01:00
2020-06-21 14:14:12 +05:30
2020-06-21 14:18:44 +05:30
2020-01-09 16:03:53 +01:00
2020-06-16 00:16:21 +05:30
2020-02-28 16:36:08 +01:00
2020-06-16 10:46:21 +05:30
2018-12-19 15:37:41 -08:00
2019-04-22 13:52:47 +05:30
2018-12-17 09:28:48 +01:00
2020-06-14 21:22:50 +05:30
2020-02-28 16:36:02 +01:00
2019-05-25 18:25:36 +02:00
2020-06-14 21:19:15 +05:30
2020-05-02 17:24:43 +02:00
2019-02-01 21:01:10 -08:00
2018-01-29 19:39:59 -08:00
2020-06-16 00:16:25 +05:30
2019-07-03 13:15:59 +02:00
2018-06-26 08:06:33 +08:00
2019-11-06 12:42:59 +01:00
2019-12-16 17:39:13 -08:00
2020-06-14 21:19:23 +05:30
2020-01-14 20:05:39 +01:00
2020-06-15 21:36:08 +05:30
2020-05-20 12:15:34 +02:00
2020-03-11 18:02:43 +01:00
2019-12-16 23:32:26 +00:00
2020-06-14 21:19:22 +05:30
2020-06-14 21:22:54 +05:30
2020-06-16 10:45:15 +05:30
2020-06-16 00:16:26 +05:30
2018-10-23 14:42:00 +05:30
2020-05-27 16:42:51 +02:00
2020-04-24 08:00:43 +02:00
2018-01-29 19:40:12 -08:00
2020-06-21 14:18:44 +05:30
2020-06-16 10:46:06 +05:30
2018-10-23 14:42:00 +05:30
2020-06-15 21:36:08 +05:30
2020-06-14 21:19:22 +05:30
2020-06-16 10:46:21 +05:30
2020-06-14 21:19:15 +05:30
2020-01-09 10:17:55 +01:00
2020-06-16 10:46:21 +05:30
2020-06-16 22:54:36 +05:30
2020-06-14 21:22:53 +05:30
2020-06-14 13:43:25 +05:30
2020-06-14 13:43:25 +05:30
2020-06-14 13:43:25 +05:30
2019-05-04 09:15:18 +02:00
2020-05-03 08:51:19 +02:00
2018-01-29 19:39:58 -08:00
2018-02-22 19:18:40 +00:00
2018-01-29 19:39:58 -08:00
2019-12-01 09:36:51 +01:00
2020-01-04 14:00:04 +01:00
2020-06-15 20:41:24 +05:30
2020-05-26 12:13:42 +05:30
2019-05-04 09:15:18 +02:00
2019-10-11 18:18:48 +02:00
2020-06-14 21:22:52 +05:30
2020-06-16 10:45:15 +05:30
2020-04-18 17:49:12 +05:30
2018-01-29 19:39:58 -08:00
2020-06-16 00:16:26 +05:30