lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 17.09-beta 18 lines 552 B view raw
1diff --git a/rts/posix/OSMem.c b/rts/posix/OSMem.c 2index 99620ee..e052a84 100644 3--- a/rts/posix/OSMem.c 4+++ b/rts/posix/OSMem.c 5@@ -523,13 +523,7 @@ void osDecommitMemory(void *at, W_ size) 6 sysErrorBelch("unable to make released memory unaccessible"); 7 #endif 8 9-#ifdef MADV_FREE 10- // Try MADV_FREE first, FreeBSD has both and MADV_DONTNEED 11- // just swaps memory out 12- r = madvise(at, size, MADV_FREE); 13-#else 14 r = madvise(at, size, MADV_DONTNEED); 15-#endif 16 if(r < 0) 17 sysErrorBelch("unable to decommit memory"); 18 }