diff options
| author | Jens Axboe <[email protected]> | 2023-04-14 13:32:02 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2023-04-16 19:01:42 +0000 |
| commit | 9f4107b07b17b5ee68af680150f91227bea2df6f (patch) | |
| tree | 54f7074442e4411c2770e09724b288422b95d2e6 /tools/perf/scripts/python/intel-pt-events.py | |
| parent | block: re-arrange the struct block_device fields for better layout (diff) | |
| download | kernel-9f4107b07b17b5ee68af680150f91227bea2df6f.tar.gz kernel-9f4107b07b17b5ee68af680150f91227bea2df6f.zip | |
block: store bdev->bd_disk->fops->submit_bio state in bdev
We have a long chain of memory dereferencing just to whether or not
this disk has a special submit_bio helper. As that's not necessarily
the common case, add a bd_has_submit_bio state in the bdev to avoid
traversing this memory dependency chain if we don't need to.
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions
