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: <20220906225847.255b4f244105b9b66b713857@linux-foundation.org>
Date:   Tue, 6 Sep 2022 22:58:47 -0700
From:   Andrew Morton <akpm@...ux-foundation.org>
To:     Xiu Jianfeng <xiujianfeng@...wei.com>
Cc:     <linux-mm@...ck.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH -next] secretmem: use ATOMIC_INIT() to initialize
 secretmem_users

On Tue, 6 Sep 2022 17:36:20 +0800 Xiu Jianfeng <xiujianfeng@...wei.com> wrote:

> The variable secretmem_users is of atomic_t type, so initialize it
> properly with ATOMIC_INIT().
> 

True, but there are many many cases where we initialize an atomic_t to
the all-zeroes pattern.  So many that this should be considered
acceptable practice.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ