LKML Archive on
help / color / mirror / Atom feed
From: Jens Axboe <>
To: wangyangbo <>
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: <> (raw)
In-Reply-To: <>

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] <>
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:

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

  git send-email \ \ \ \ \ \ \ \
    --subject='Re: [PATCH 1/1] io_uring: Add register support to other PAGE_SIZE' \

* 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).