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] [day] [month] [year] [list]
Message-ID: <Y02q0Us+WZmQU3zO@slm.duckdns.org>
Date:   Mon, 17 Oct 2022 09:19:45 -1000
From:   Tejun Heo <tj@...nel.org>
To:     Kemeng Shi <shikemeng@...wei.com>
Cc:     axboe@...nel.dk, linux-block@...r.kernel.org,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH 8/8] blk-iocost: Get ioc_now inside weight_updated

On Mon, Oct 17, 2022 at 10:00:11AM +0800, Kemeng Shi wrote:
> The ioc_now parameter of weight_updated is only needed if we need call
> propagate_weights. Move ioc_now inside weight_updated to remove
> unnecessary get of ioc_now from outside of weight_updated.
> 
> Signed-off-by: Kemeng Shi <shikemeng@...wei.com>

Ditto. I don't think this improves anything meaningful.

Thanks.

-- 
tejun

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ