diff options
author | Ming Lei <ming.lei@redhat.com> | 2021-01-11 11:05:52 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-01-24 21:22:45 -0700 |
commit | 49d1ec8573f74ff1e23df1d5092211de46baa236 (patch) | |
tree | f6f25b2b40cb3845afdd529482cc974a7cdd7978 /tools/perf/scripts/python/syscall-counts.py | |
parent | 1a23e06cdab2be07cbda460c6417d7de564c48e6 (diff) |
block: manage bio slab cache by xarray
Managing bio slab cache via xarray by using slab cache size as xarray
index, and storing 'struct bio_slab' instance into xarray.
So code is simplified a lot, meantime it becomes more readable than before.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Reviewed-by: Pavel Begunkov <asml.silence@gmail.com>
Tested-by: Pavel Begunkov <asml.silence@gmail.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions