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  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]
Date:   Wed, 25 Oct 2017 09:47:14 -0600
From:   Logan Gunthorpe <>
Subject: Re: [PATCH] genalloc: Make the avail variable an atomic64_t

On 25/10/17 09:32 AM, wrote:
> From: Stephen Bates <>
> If the amount of resources allocated to a gen_pool exceeds 2^32 then
> the avail atomic overflows and this causes problems when clients try
> and borrow resources from the pool.
> Add the <linux/atomic.h> header to pull in atomic64 operations on
> platforms that do not support them natively.
> Signed-off-by: Stephen Bates <>

Reviewed-by: Logan Gunthorpe <>

This looks pretty straightforward to me.


Powered by blists - more mailing lists