LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: wangyangbo <wangyangbo@uniontech.com>
Cc: asml.silence@gmail.com, io-uring@vger.kernel.org,
	linux-kernel@vger.kernel.org, xiehuanjun@uniontech.com
Subject: Re: [PATCH 1/1] io_uring: Add register support to other PAGE_SIZE
Date: Thu, 19 Aug 2021 09:54:57 -0600	[thread overview]
Message-ID: <f0be35b2-4ecb-1ce6-203c-cec0fb9407b1@kernel.dk> (raw)
In-Reply-To: <20210819055657.27327-1-wangyangbo@uniontech.com>

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


      reply	other threads:[~2021-08-19 15:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20210818055613.1655-1-wangyangbo@uniontech.com>
2021-08-18 13:30 ` [PATCH 01/01] " Jens Axboe
2021-08-19  5:56   ` [PATCH 1/1] " wangyangbo
2021-08-19 15:54     ` Jens Axboe [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f0be35b2-4ecb-1ce6-203c-cec0fb9407b1@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=asml.silence@gmail.com \
    --cc=io-uring@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=wangyangbo@uniontech.com \
    --cc=xiehuanjun@uniontech.com \
    --subject='Re: [PATCH 1/1] io_uring: Add register support to other PAGE_SIZE' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).