Message ID | 20171018215629.5328-4-chris@chris-wilson.co.uk (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/lib/intel_os.c b/lib/intel_os.c index 6e0a46b3..a77566c1 100644 --- a/lib/intel_os.c +++ b/lib/intel_os.c @@ -297,7 +297,7 @@ void intel_purge_vm_caches(int drm_fd) { int fd; - igt_drop_caches_set(drm_fd, DROP_SHRINK_ALL); + igt_drop_caches_set(drm_fd, DROP_SHRINK_ALL | DROP_IDLE | DROP_FREED); fd = open("/proc/sys/vm/drop_caches", O_WRONLY); if (fd >= 0) {