Skip to content

Commit

Permalink
Remove needfree, desfree, lotsfree #defines
Browse files Browse the repository at this point in the history
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 openzfs#3637
  • Loading branch information
behlendorf committed Jul 30, 2015
1 parent 9dc5ffb commit 8ac6ffe
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions include/sys/vmsystm.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 8ac6ffe

Please sign in to comment.