diff options
author | wangyangbo <wangyangbo@uniontech.com> | 2021-08-19 13:56:57 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-08-23 13:10:46 -0600 |
commit | 187f08c12cd1d81f000cdc9c0119ef6e0a6f47e3 (patch) | |
tree | 5e36e9fc07d1f38f362fe90f22b0018d461e2c0a /tools/perf/scripts/python/stackcollapse.py | |
parent | e98e49b2bbf777f91732dc916d7ad33876c663c9 (diff) |
io_uring: Add register support for non-4k PAGE_SIZE
Now allocated rsrc table uses PAGE_SIZE as the size of 2nd-level, and
accessing this table relies on each level index from fixed TABLE_SHIFT
(12 - 3) in 4k page case. In order to correctly work in non-4k page,
define TABLE_SHIFT as non-fixed (PAGE_SHIFT - shift of data) for
2nd-level table entry number.
Signed-off-by: wangyangbo <wangyangbo@uniontech.com>
Link: https://lore.kernel.org/r/20210819055657.27327-1-wangyangbo@uniontech.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions