zfs/include/linux
Richard Yao c3d9c0df3e Linux 3.12 compat: New shrinker API
torvalds/linux@24f7c6 introduced a new shrinker API while
torvalds/linux@a0b021 dropped support for the old shrinker API.
This patch adds support for the new shrinker API by wrapping
the old one with the new one.

This change also reorganizes the autotools checks on the shrinker
API such that the configure script will fail early if an unknown
API is encountered in the future.

Support for the set_shrinker() API which was used by Linux 2.6.22
and older has been dropped.  As a general rule compatibility is
only maintained back to Linux 2.6.26.

Signed-off-by: Richard Yao <ryao@gentoo.org>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes zfsonlinux/zfs#1732
Closes zfsonlinux/zfs#1822
Closes #293
Closes #307
2013-11-06 13:23:40 -08:00
..
Makefile.am Emulate illumos interface cv_timedwait_hires() 2013-11-04 09:49:24 -08:00
bitops_compat.h Refresh links to web site 2013-03-04 19:09:34 -08:00
compiler_compat.h Refresh links to web site 2013-03-04 19:09:34 -08:00
delay_compat.h Emulate illumos interface cv_timedwait_hires() 2013-11-04 09:49:24 -08:00
file_compat.h Refresh links to web site 2013-03-04 19:09:34 -08:00
kallsyms_compat.h Refresh links to web site 2013-03-04 19:09:34 -08:00
list_compat.h Refresh links to web site 2013-03-04 19:09:34 -08:00
math64_compat.h Refresh links to web site 2013-03-04 19:09:34 -08:00
mm_compat.h Linux 3.12 compat: New shrinker API 2013-11-06 13:23:40 -08:00
module_compat.h Refresh links to web site 2013-03-04 19:09:34 -08:00
mutex_compat.h Refresh links to web site 2013-03-04 19:09:34 -08:00
proc_compat.h Linux 3.10 compat: Do not rely on struct proc_dir_entry definition 2013-07-08 15:25:18 -07:00
rwsem_compat.h Refresh links to web site 2013-03-04 19:09:34 -08:00
smp_compat.h Refresh links to web site 2013-03-04 19:09:34 -08:00
sysctl_compat.h Refresh links to web site 2013-03-04 19:09:34 -08:00
time_compat.h Refresh links to web site 2013-03-04 19:09:34 -08:00
uaccess_compat.h Refresh links to web site 2013-03-04 19:09:34 -08:00
zlib_compat.h Refresh links to web site 2013-03-04 19:09:34 -08:00