lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAGaU9a_Aoyka-tNvG-WGAEacGgcF38gyHLcTLrK+mL_qGfwRwg@mail.gmail.com>
Date:   Wed, 31 May 2023 17:04:36 +0800
From:   Stanley Chu <chu.stanley@...il.com>
To:     Ed Tsai <ed.tsai@...iatek.com>
Cc:     axboe@...nel.dk, kbusch@...nel.org, liusong@...ux.alibaba.com,
        linux-block@...r.kernel.org, linux-kernel@...r.kernel.org,
        linux-arm-kernel@...ts.infradead.org,
        linux-mediatek@...ts.infradead.org, wsd_upstream@...iatek.com,
        peter.wang@...iatek.com, stanley.chu@...iatek.com,
        powen.kao@...iatek.com, alice.chao@...iatek.com,
        naomi.chu@...iatek.com
Subject: Re: blk-mq: check on cpu id when there is only one ctx mapping

On Wed, May 31, 2023 at 4:49 PM Ed Tsai <ed.tsai@...iatek.com> wrote:
>
> commit f168420 ("blk-mq: don't redirect completion for hctx withs only
> one ctx mapping") When nvme applies a 1:1 mapping of hctx and ctx, there
> will be no remote request.
>
> But for ufs, the submission and completion queues could be asymmetric.
> (e.g. Multiple SQs share one CQ) Therefore, 1:1 mapping of hctx and
> ctx won't complete request on the submission cpu. In this situation,
> this nr_ctx check could violate the QUEUE_FLAG_SAME_FORCE, as a result,
> check on cpu id when there is only one ctx mapping.
>
> Signed-off-by: Ed Tsai <ed.tsai@...iatek.com>
> Signed-off-by: Po-Wen Kao <powen.kao@...iatek.com>

Reviewed-by: Stanley Chu <stanley.chu@...iatek.com>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ