zfs/module/splat
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
..
Makefile.in Add script for builtin module building. 2012-07-26 15:13:09 -07:00
splat-atomic.c Update SPLAT to use kmutex_t for portability 2014-10-17 15:07:28 -07:00
splat-condvar.c Support post-3.13 kthread_create() semantics. 2014-04-08 12:44:42 -07:00
splat-cred.c splat cred:groupmember: Fix false positives 2014-04-08 12:44:41 -07:00
splat-ctl.c Update code to use misc_register()/misc_deregister() 2014-10-17 15:07:28 -07:00
splat-generic.c Refresh links to web site 2013-03-04 19:09:34 -08:00
splat-internal.h Update code to use misc_register()/misc_deregister() 2014-10-17 15:07:28 -07:00
splat-kmem.c Remove global memory variables 2014-10-17 15:11:51 -07:00
splat-kobj.c Refresh links to web site 2013-03-04 19:09:34 -08:00
splat-linux.c Refresh links to web site 2013-03-04 19:09:34 -08:00
splat-list.c Refresh links to web site 2013-03-04 19:09:34 -08:00
splat-mutex.c Refresh links to web site 2013-03-04 19:09:34 -08:00
splat-random.c Refresh links to web site 2013-03-04 19:09:34 -08:00
splat-rwlock.c Support post-3.13 kthread_create() semantics. 2014-04-08 12:44:42 -07:00
splat-taskq.c Fix bug in SPLAT taskq:front 2014-10-03 10:42:20 -07:00
splat-thread.c Linux 3.10 compat: add missing include of linux/slab.h 2013-07-08 15:21:28 -07:00
splat-time.c Linux 3.10 compat: add missing include of linux/slab.h 2013-07-08 15:21:28 -07:00
splat-vnode.c Refresh links to web site 2013-03-04 19:09:34 -08:00
splat-zlib.c Refresh links to web site 2013-03-04 19:09:34 -08:00