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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Wed, 25 Oct 2017 12:11:07 -0600
From:   Logan Gunthorpe <>
To:     Daniel Mentz <>,
Cc:, Mathieu Desnoyers <>,
        Andrew Morton <>,
        Will Deacon <>,
        lkml <>
Subject: Re: [PATCH] genalloc: Make the avail variable an atomic64_t

On 25/10/17 11:55 AM, Daniel Mentz wrote:
> avail is defined as size_t (32 bit). Aren't you going to overflow that variable?

I think the point is to get support for 64-bit systems (ie. ARM64 and 
x64. We're working with large PCI BARs and need some way to allocate 
memory from them. You aren't likely to ever get >4GB chunks on 32-bit 
systems but you certainly can on 64-bit systems.


Powered by blists - more mailing lists