[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <f0be35b2-4ecb-1ce6-203c-cec0fb9407b1@kernel.dk>
Date: Thu, 19 Aug 2021 09:54:57 -0600
From: Jens Axboe <axboe@...nel.dk>
To: wangyangbo <wangyangbo@...ontech.com>
Cc: asml.silence@...il.com, io-uring@...r.kernel.org,
linux-kernel@...r.kernel.org, xiehuanjun@...ontech.com
Subject: Re: [PATCH 1/1] io_uring: Add register support to other PAGE_SIZE
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
Powered by blists - more mailing lists