summaryrefslogtreecommitdiff
path: root/os/os-solaris.h
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2009-08-04 23:17:02 +0200
committerJens Axboe <jens.axboe@oracle.com>2009-08-04 23:17:02 +0200
commita1c58075279454a91ec43366846b93e8dcf9753c (patch)
treeb0377d096ad9ab0da2d252b04af44ad982794ee1 /os/os-solaris.h
parent56075b96f307f8276f9d032ac8404622b94a456c (diff)
downloadfio-a1c58075279454a91ec43366846b93e8dcf9753c.tar.gz
fio-a1c58075279454a91ec43366846b93e8dcf9753c.tar.bz2
Add strong madvise() hint for cache pruning
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'os/os-solaris.h')
-rw-r--r--os/os-solaris.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/os/os-solaris.h b/os/os-solaris.h
index 943d387d..5029d38f 100644
--- a/os/os-solaris.h
+++ b/os/os-solaris.h
@@ -108,4 +108,8 @@ static inline int fio_cpuset_exit(os_cpu_mask_t *mask)
*/
#define FIO_MAX_CPUS 16384
+#ifdef MADV_FREE
+#define FIO_MADV_FREE MADV_FREE
+#endif
+
#endif