Messages in this thread | | | From | Arnd Bergmann <> | Date | Fri, 26 Nov 2021 08:19:53 +0100 | Subject | Re: [PATCH v3 1/6] perf bench futex: Add support for 32-bit systems with 64-bit time_t |
| |
On Fri, Nov 26, 2021 at 7:00 AM Alistair Francis <alistair.francis@opensource.wdc.com> wrote: > From: Alistair Francis <alistair.francis@wdc.com> > > Some 32-bit architectures (such are 32-bit RISC-V) only have a 64-bit > time_t and as such don't have the SYS_futex syscall. This patch will > allow us to use the SYS_futex_time64 syscall on those platforms. > > This also converts the futex calls to be y2038 safe (when built for a > 5.1+ kernel). > > This is a revert of commit ba4026b09d83acf56c040b6933eac7916c27e728 > "Revert "perf bench futex: Add support for 32-bit systems with 64-bit time_t"". > > The original commit was reverted as including linux/time_types.h would > fail to compile on older kernels. This commit doesn't include > linux/time_types.h to avoid this issue. > > Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
| |