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: <0D12F536-0A4D-4C8D-B2BD-99523BC13672@raithlin.com>
Date:   Thu, 26 Oct 2017 11:25:47 +0000
From:   "Stephen  Bates" <sbates@...thlin.com>
To:     Mathieu Desnoyers <mathieu.desnoyers@...icios.com>
CC:     Daniel Mentz <danielmentz@...gle.com>,
        "logang@...tatee.com" <logang@...tatee.com>,
        Jonathan Corbet <corbet@....net>,
        Andrew Morton <akpm@...ux-foundation.org>,
        Will Deacon <will.deacon@....com>,
        linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] genalloc: Make the avail variable an atomic64_t

> We have atomic_long_t for that. Please use it instead. It will be
> 64-bit on 64-bit archs, and 32-bit on 32-bit archs, which seems to
> fit your purpose here.

Thanks you Mathieu! Yes atomic_long_t looks perfect for this and addresses Daniel’s concerns for 32 bit systems. I’ll prepare a v2 with that change.

Stephen


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ