summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2015-07-27 15:05:47 -0700
committerBrian Behlendorf <[email protected]>2015-07-30 11:45:24 -0700
commit8ac6ffecaf6dacfec6c5cb24d0bc8b3d40db63ef (patch)
tree4fefc44c87cddca058044ef1adc0cb99c14e053e /include
parent9dc5ffbec845ec9c4d9b109c85569345c0c11766 (diff)
Remove needfree, desfree, lotsfree #defines
This patch reverts 77ab5dd. This is now possible because upstream has refactored the ARC in such a way that these values are only used in a few key places. Those places have subsequently been updated to use the Linux equivalent Linux functionality. Signed-off-by: Brian Behlendorf <[email protected]> Issue zfsonlinux/zfs#3637
Diffstat (limited to 'include')
-rw-r--r--include/sys/vmsystm.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/sys/vmsystm.h b/include/sys/vmsystm.h
index 3720d209a..2fa169523 100644
--- a/include/sys/vmsystm.h
+++ b/include/sys/vmsystm.h
@@ -36,9 +36,6 @@
#define membar_producer() smp_wmb()
#define physmem totalram_pages
#define freemem nr_free_pages()
-#define needfree 0
-#define desfree 0
-#define lotsfree 0
#define xcopyin(from, to, size) copy_from_user(to, from, size)
#define xcopyout(from, to, size) copy_to_user(to, from, size)