diff options
author | Brian Behlendorf <[email protected]> | 2008-12-23 15:59:36 -0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2008-12-23 15:59:36 -0800 |
commit | bb9cfc6cc3918a2458a92d38e926fd5b04efa817 (patch) | |
tree | f8a46e830aa3f5a73ea73044a62c0cc708b6415a | |
parent | 2b88beb74f0654a229d13b191bde441c4a3f4a5a (diff) |
Define needfree
-rw-r--r-- | include/sys/vmsystm.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/sys/vmsystm.h b/include/sys/vmsystm.h index e10a1dc54..e92c17bdd 100644 --- a/include/sys/vmsystm.h +++ b/include/sys/vmsystm.h @@ -38,6 +38,7 @@ extern vmem_t *zio_alloc_arena; /* arena for zio caches */ #define freemem nr_free_pages() // Expensive on linux, // cheap on solaris #define minfree 0 +#define needfree 0 /* # of needed pages */ #define ptob(pages) (pages * PAGE_SIZE) #define membar_producer() smp_wmb() @@ -93,10 +94,6 @@ copyinstr(const void *from, void *to, size_t len, size_t *done) * processes but not yet allocated */ #define deficit 0 -/* A guess as to how many page are needed to satisfy - * stalled page creation requests */ -#define needfree 0 - /* A bootlean the controls the setting of deficit */ #define desperate |