author: Naohiro Aota <naohiro.aota@wdc.com> 2021-09-08 18:10:17 -0700
committer: Linus Torvalds <torvalds@linux-foundation.org> 2021-09-08 18:45:53 -0700
commit: 79d3705040c3b41075f894fdeeebdcbb46550c63
parent: 10994316089c9682f2fbe0be0b1e82bcaf5f4e8c
Commit Summary:
Diffstat:
1 file changed, 2 insertions, 1 deletion
diff --git a/mm/kmemleak.c b/mm/kmemleak.c
index b59f1761d817..b57383c17cf6 100644
--- a/mm/kmemleak.c
+++ b/mm/kmemleak.c
@@ -113,7 +113,8 @@
#define BYTES_PER_POINTER sizeof(void *)
/* GFP bitmask for kmemleak internal allocations */
-#define gfp_kmemleak_mask(gfp) (((gfp) & (GFP_KERNEL | GFP_ATOMIC)) | \
+#define gfp_kmemleak_mask(gfp) (((gfp) & (GFP_KERNEL | GFP_ATOMIC | \
+ __GFP_NOLOCKDEP)) | \
__GFP_NORETRY | __GFP_NOMEMALLOC | \
__GFP_NOWARN)