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: <20210401214332.GJ351017@casper.infradead.org>
Date:   Thu, 1 Apr 2021 22:43:32 +0100
From:   Matthew Wilcox <willy@...radead.org>
To:     Sergei Trofimovich <slyfox@...too.org>
Cc:     Andrew Morton <akpm@...ux-foundation.org>,
        linux-kernel@...r.kernel.org, linux-mm@...ck.org
Subject: Re: [PATCH] mm: page_owner: use kstrtobool() to parse bool option

On Thu, Apr 01, 2021 at 10:09:09PM +0100, Sergei Trofimovich wrote:
> I tried to use page_owner=1 for a while noticed too late it had
> no effect as opposed to similar init_on_alloc=1 (these work).
> 
> Let's make them consistent.
> 
> The change decreses binary size slightly:
>    text    data     bss     dec     hex filename
>   12408     321      17   12746    31ca mm/page_owner.o.before
>   12320     321      17   12658    3172 mm/page_owner.o.after
> 
> CC: Andrew Morton <akpm@...ux-foundation.org>
> CC: linux-mm@...ck.org
> Signed-off-by: Sergei Trofimovich <slyfox@...too.org>

Reviewed-by: Matthew Wilcox (Oracle) <willy@...radead.org>

Seems to me there are a few other places that could benefit from this.

kmemleak_boot_config()
early_kasan_flag()
early_kasan_flag_stacktrace()
nonx32_setup()

maybe others?  grep is our friend.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ