diff options
author | Levin, Alexander (Sasha Levin) <alexander.levin@verizon.com> | 2017-11-15 20:35:54 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-11-15 21:21:04 -0500 |
commit | 75f296d93bcebcfe375884ddac79e30263a31766 (patch) | |
tree | d536ce2a9f7837c26644e14a0ea2ab7b01c07fed /arch/sparc/mm | |
parent | 4950276672fce5c241857540f8561c440663673d (diff) |
kmemcheck: stop using GFP_NOTRACK and SLAB_NOTRACK
Convert all allocations that used a NOTRACK flag to stop using it.
Link: http://lkml.kernel.org/r/20171007030159.22241-3-alexander.levin@verizon.com
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Cc: Alexander Potapenko <glider@google.com>
Cc: Eric W. Biederman <ebiederm@xmission.com>
Cc: Michal Hocko <mhocko@kernel.org>
Cc: Pekka Enberg <penberg@kernel.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Tim Hansen <devtimhansen@gmail.com>
Cc: Vegard Nossum <vegardno@ifi.uio.no>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/sparc/mm')
-rw-r--r-- | arch/sparc/mm/init_64.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sparc/mm/init_64.c b/arch/sparc/mm/init_64.c index 61bdc1270d19..2de22d703076 100644 --- a/arch/sparc/mm/init_64.c +++ b/arch/sparc/mm/init_64.c | |||
@@ -2927,7 +2927,7 @@ void __flush_tlb_all(void) | |||
2927 | pte_t *pte_alloc_one_kernel(struct mm_struct *mm, | 2927 | pte_t *pte_alloc_one_kernel(struct mm_struct *mm, |
2928 | unsigned long address) | 2928 | unsigned long address) |
2929 | { | 2929 | { |
2930 | struct page *page = alloc_page(GFP_KERNEL | __GFP_NOTRACK | __GFP_ZERO); | 2930 | struct page *page = alloc_page(GFP_KERNEL | __GFP_ZERO); |
2931 | pte_t *pte = NULL; | 2931 | pte_t *pte = NULL; |
2932 | 2932 | ||
2933 | if (page) | 2933 | if (page) |
@@ -2939,7 +2939,7 @@ pte_t *pte_alloc_one_kernel(struct mm_struct *mm, | |||
2939 | pgtable_t pte_alloc_one(struct mm_struct *mm, | 2939 | pgtable_t pte_alloc_one(struct mm_struct *mm, |
2940 | unsigned long address) | 2940 | unsigned long address) |
2941 | { | 2941 | { |
2942 | struct page *page = alloc_page(GFP_KERNEL | __GFP_NOTRACK | __GFP_ZERO); | 2942 | struct page *page = alloc_page(GFP_KERNEL | __GFP_ZERO); |
2943 | if (!page) | 2943 | if (!page) |
2944 | return NULL; | 2944 | return NULL; |
2945 | if (!pgtable_page_ctor(page)) { | 2945 | if (!pgtable_page_ctor(page)) { |