HomeFreeBSD

linux/kmem: remove HAVE_ATOMIC64_T and kmem_alloc_used wrappers

Description

linux/kmem: remove HAVE_ATOMIC64_T and kmem_alloc_used wrappers

Seems like we haven't set it since the SPL was pulled into the main ZFS
tree. In removing the define, I've taken the 64-bit version (ie the one
that _hasn't_ been running since back then) because it looks like its
closer to the intended width by the way its used.

Since the macros ar eno longer needed as a selector, pull those too.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Signed-off-by: Rob Norris <robn@despairlabs.com>
Sponsored-by: https://despairlabs.com/sponsor/
Closes #17551

Details

Provenance
rob.norris_klarasystems.comAuthored on Jul 18 2025, 5:18 AM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Jul 22 2025, 10:08 PM
Parents
rG1c483cf3d0f5: linux/kmem: remove long-obsolete __GFP compat flags
Branches
Unknown
Tags
Unknown