X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=os%2Fos-linux.h;h=e4c4c3fd2f094eceaad485f1d53b2d35def66367;hp=dd9c5aaf493ce6ff403e5b1ec92c5390d7b82bb1;hb=a1c58075279454a91ec43366846b93e8dcf9753c;hpb=56075b96f307f8276f9d032ac8404622b94a456c diff --git a/os/os-linux.h b/os/os-linux.h index dd9c5aaf..e4c4c3fd 100644 --- a/os/os-linux.h +++ b/os/os-linux.h @@ -250,6 +250,10 @@ static inline int fio_lookup_raw(dev_t dev, int *majdev, int *mindev) #define FIO_O_NOATIME 0 #endif +#ifdef MADV_REMOVE +#define FIO_MADV_FREE MADV_REMOVE +#endif + #define CACHE_LINE_FILE \ "/sys/devices/system/cpu/cpu0/cache/index0/coherency_line_size"