]> git.proxmox.com Git - mirror_spl.git/commitdiff
Remove needfree, desfree, lotsfree #defines
authorBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 27 Jul 2015 22:05:47 +0000 (15:05 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 30 Jul 2015 18:45:24 +0000 (11:45 -0700)
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 <behlendorf1@llnl.gov>
Issue zfsonlinux/zfs#3637

include/sys/vmsystm.h

index 3720d209a6d82eb1520a0bce919929e1ec216604..2fa169523ddfd0efa6a2768301bd707108681240 100644 (file)
@@ -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)