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:   Fri, 17 Jun 2022 11:05:32 +0000
From:   Christophe Leroy <>
To:     Geert Uytterhoeven <>,
        Linus Torvalds <>
CC:     Matthew Wilcox <>,
        "Jason A. Donenfeld" <>,
        Linux-MM <>,
        linux-xfs <>,
        "" <>,
        Linux Kernel Mailing List <>,
        Uladzislau Rezki <>,
        Kees Cook <>,
        Greg Kroah-Hartman <>,
        Joe Perches <>
Subject: Re: [PATCH] usercopy: use unsigned long instead of uintptr_t

Le 17/06/2022 à 09:58, Geert Uytterhoeven a écrit :
>> But it then causes pointless problems when people can't really rely on
>> more than 32 bits for atomic bit operations, and on 64-bit
>> architectures we unnecessarily use "long" and waste the upper bits.
> Well, atomic works up to native word size, i.e. long.

powerpc64 has a pair of instructions to perform 128bits atomic 
operations : lqarx / stqcx.

Powered by blists - more mailing lists