Files
kernel/include/linux
Ming Lei 3301bc5335 lib/sbitmap: kill 'depth' from sbitmap_word
Only the last sbitmap_word can have different depth, and all the others
must have same depth of 1U << sb->shift, so not necessary to store it in
sbitmap_word, and it can be retrieved easily and efficiently by adding
one internal helper of __map_depth(sb, index).

Remove 'depth' field from sbitmap_word, then the annotation of
____cacheline_aligned_in_smp for 'word' isn't needed any more.

Not see performance effect when running high parallel IOPS test on
null_blk.

This way saves us one cacheline(usually 64 words) per each sbitmap_word.

Cc: Martin Wilck <martin.wilck@suse.com>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Reviewed-by: Martin Wilck <mwilck@suse.com>
Reviewed-by: John Garry <john.garry@huawei.com>
Link: https://lore.kernel.org/r/20220110072945.347535-1-ming.lei@redhat.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2022-02-08 06:54:50 -07:00
..
2022-01-22 08:33:34 +02:00
2022-01-15 08:47:31 -08:00
2022-02-03 21:10:00 -07:00
2022-01-09 10:36:51 -07:00
2022-01-15 08:47:31 -08:00
2022-01-22 08:33:38 +02:00
2022-01-20 08:52:54 +02:00
2022-01-04 13:15:33 -05:00
2021-12-17 09:06:15 +01:00
2021-12-20 09:03:05 +01:00
2021-12-16 22:22:20 +01:00
2022-01-12 10:14:09 -06:00
2022-01-15 16:30:28 +02:00
2022-02-02 07:49:59 -07:00
2022-01-15 16:30:28 +02:00
2022-01-22 08:33:37 +02:00
2022-01-08 12:43:57 -06:00
2022-01-24 14:45:02 +01:00
2022-01-22 08:33:37 +02:00
2022-01-22 08:33:38 +02:00
2021-12-30 12:13:04 +01:00
2022-01-14 18:50:52 -05:00
2022-01-08 00:28:41 -05:00