[Intel-gfx] [PATCH] HAX: Force kmemleak off

Chris Wilson chris at chris-wilson.co.uk
Tue Oct 1 08:35:29 UTC 2019


---
 mm/kmemleak.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/mm/kmemleak.c b/mm/kmemleak.c
index f6e602918dac..cf392615ad40 100644
--- a/mm/kmemleak.c
+++ b/mm/kmemleak.c
@@ -2015,6 +2015,9 @@ void __init kmemleak_init(void)
 	}
 #endif
 
+	kmemleak_disable();
+	return;
+
 	jiffies_min_age = msecs_to_jiffies(MSECS_MIN_AGE);
 	jiffies_scan_wait = msecs_to_jiffies(SECS_SCAN_WAIT * 1000);
 
-- 
2.23.0



More information about the Intel-gfx mailing list