mirror_zfs/include/linux
Brian Behlendorf 8bbbe46f86 Remove global memory variables
Platforms such as Illumos and FreeBSD have historically provided
global variables which summerize the memory state of a system.
Linux on the otherhand doesn't expose any of this information
to kernel modules and uses entirely different mechanisms for
memory management.

In order to simplify the original ZFS port to Linux these global
variables were emulated by the SPL for the benefit of ZFS.  As ZoL
has matured over the years it has moved steadily away from these
interfaces and now no longer depends on them at all.

Therefore, this patch completely removes the global variables
availrmem, minfree, desfree, lotsfree, needfree, swapfs_minfree,
and swapfs_reserve.  This greatly simplifies the memory management
code and eliminates a common area of confusion.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
2014-10-17 15:11:51 -07:00
..
bitops_compat.h Map highbit64() to fls64() 2014-10-17 15:11:50 -07: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 Remove i_mutex() configure check 2014-10-17 15:11:51 -07: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
Makefile.am Remove on_each_cpu() wrapper 2014-10-17 15:11:51 -07:00
math64_compat.h Refresh links to web site 2013-03-04 19:09:34 -08:00
mm_compat.h Remove global memory variables 2014-10-17 15:11:51 -07:00
module_compat.h Refresh links to web site 2013-03-04 19:09:34 -08:00
proc_compat.h Remove CTL_UNNUMBERED sysctl interface 2014-10-17 15:11:50 -07:00
rwsem_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
wait_compat.h Linux 3.17 compat: remove wait_on_bit action function 2014-08-11 14:17:00 -07:00
zlib_compat.h Refresh links to web site 2013-03-04 19:09:34 -08:00