Thread (1 message) 1 message, 1 author, 2021-08-19

Re: [PATCH 1/1] io_uring: Add register support to other PAGE_SIZE

From: Jens Axboe <axboe@kernel.dk>
Date: 2021-08-19 15:55:01
Also in: lkml

On 8/18/21 11:56 PM, wangyangbo wrote:
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.
That's a lot better! Thanks, applied for 5.15.

-- 
Jens Axboe
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help