mirror_zfs/module/os/linux
Rob Norris 957dc1037a Linux 6.7 compat: rework shrinker setup for heap allocations
6.7 changes the shrinker API such that shrinkers must be allocated
dynamically by the kernel. To accomodate this, this commit reworks
spl_register_shrinker() to do something similar against earlier kernels.

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rob Norris <robn@despairlabs.com>
Sponsored-by: https://github.com/sponsors/robn
Closes #15681
2023-12-20 11:47:55 -08:00
..
spl Linux 6.7 compat: rework shrinker setup for heap allocations 2023-12-20 11:47:55 -08:00
zfs Linux 6.7 compat: rework shrinker setup for heap allocations 2023-12-20 11:47:55 -08:00