Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1368270 > unrolled thread

[PATCH v1] mm, kasan: fix compilation for CONFIG_SLAB

Started byAlexander Potapenko <glider@google.com>
First post2016-03-31 15:00 +0200
Last post2016-03-31 15:00 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH v1] mm, kasan: fix compilation for CONFIG_SLAB Alexander Potapenko <glider@google.com> - 2016-03-31 15:00 +0200

#1368270 — [PATCH v1] mm, kasan: fix compilation for CONFIG_SLAB

FromAlexander Potapenko <glider@google.com>
Date2016-03-31 15:00 +0200
Subject[PATCH v1] mm, kasan: fix compilation for CONFIG_SLAB
Message-ID<riKmC-5a4-19@gated-at.bofh.it>
Add the missing argument to set_track().

Fixes: cd11016e5f5212c13c0cec7384a525edc93b4921
("mm, kasan: stackdepot implementation. Enable stackdepot for SLAB")
Signed-off-by: Alexander Potapenko <glider@google.com>
---
 mm/kasan/kasan.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mm/kasan/kasan.c b/mm/kasan/kasan.c
index acb3b6c..38f1dd7 100644
--- a/mm/kasan/kasan.c
+++ b/mm/kasan/kasan.c
@@ -498,7 +498,7 @@ void kasan_slab_free(struct kmem_cache *cache, void *object)
 		struct kasan_alloc_meta *alloc_info =
 			get_alloc_info(cache, object);
 		alloc_info->state = KASAN_STATE_FREE;
-		set_track(&free_info->track);
+		set_track(&free_info->track, GFP_NOWAIT);
 	}
 #endif
 
-- 
2.8.0.rc3.226.g39d4020

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web