opnsense-src/include
Alexander Motin d4b5517ef9
Linux: Report reclaimable memory to kernel as such (#16385)
Linux provides SLAB_RECLAIM_ACCOUNT and __GFP_RECLAIMABLE flags to
mark memory allocations that can be freed via shinker calls.  It
should allow kernel to tune and group such allocations for lower
memory fragmentation and better reclamation under pressure.

This patch marks as reclaimable most of ARC memory, directly
evictable via ZFS shrinker, plus also dnode/znode/sa memory,
indirectly evictable via kernel's superblock shrinker.

Signed-off-by:	Alexander Motin <mav@FreeBSD.org>
Sponsored by:	iXsystems, Inc.
Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Allan Jude <allan@klarasystems.com>
2024-07-30 11:40:47 -07:00
..
os Linux: Report reclaimable memory to kernel as such (#16385) 2024-07-30 11:40:47 -07:00
sys Linux: Report reclaimable memory to kernel as such (#16385) 2024-07-30 11:40:47 -07:00
.gitignore
cityhash.h
libnvpair.h
libuutil.h
libuutil_common.h
libuutil_impl.h
libzdb.h libzdb: Initial breakout of libzdb 2024-02-05 10:00:41 -08:00
libzfs.h ddt: add support for prefetching tables into the ARC 2024-07-26 09:16:18 -07:00
libzfs_core.h ddt: add support for prefetching tables into the ARC 2024-07-26 09:16:18 -07:00
libzfsbootenv.h
libzutil.h Parallel pool import 2024-04-22 09:42:38 -07:00
Makefile.am ddt: split internal DDT API into separate header 2024-02-15 11:45:15 -08:00
thread_pool.h
zfeature_common.h RAID-Z expansion feature 2023-11-08 10:19:41 -08:00
zfs_comutil.h
zfs_deleg.h
zfs_fletcher.h Drop lying to the compiler in the fletcher4 code 2023-03-24 10:29:19 -07:00
zfs_namecheck.h
zfs_prop.h