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: <165094029875.72509.3390339725421776639.b4-ty@kernel.dk>
Date:   Mon, 25 Apr 2022 20:31:38 -0600
From:   Jens Axboe <axboe@...nel.dk>
To:     chaitanya.kulkarni@....com, shinichiro.kawasaki@....com,
        yukuai3@...wei.com
Cc:     linux-block@...r.kernel.org, linux-kernel@...r.kernel.org,
        yi.zhang@...wei.com
Subject: Re: [PATCH] null-blk: save memory footprint for struct nullb_cmd

On Tue, 26 Apr 2022 10:21:33 +0800, Yu Kuai wrote:
> Total 16 bytes can be saved in two ways:
> 
> 1) The field 'bio' will only be used in bio based mode, and the field
>    'rq' will only be used in mq mode. Since they won't be used in the
>    same time, declare a union for them.
> 2) The field 'bool fake_timeout' can be placed in the hole after the
>    field 'error'.
> 
> [...]

Applied, thanks!

[1/1] null-blk: save memory footprint for struct nullb_cmd
      commit: 8ba816b23abd2a9a05705f3d00b8653f8be73015

Best regards,
-- 
Jens Axboe


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ