switching posix_madvise to madvise and using MADV_FREE as MADV_FREE on solaris does what MADV_DONTNEED does on Linux