aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/gfp.h
diff options
context:
space:
mode:
authorLevin, Alexander (Sasha Levin) <alexander.levin@verizon.com>2017-11-15 20:35:58 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2017-11-15 21:21:05 -0500
commitd8be75663cec0069b85f80191abd2682ce4a512f (patch)
tree9f239fc2e6c3bedc3c72150ac14ea26b4d191ad3 /include/linux/gfp.h
parent75f296d93bcebcfe375884ddac79e30263a31766 (diff)
kmemcheck: remove whats left of NOTRACK flags
Now that kmemcheck is gone, we don't need the NOTRACK flags. Link: http://lkml.kernel.org/r/20171007030159.22241-5-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 'include/linux/gfp.h')
-rw-r--r--include/linux/gfp.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/linux/gfp.h b/include/linux/gfp.h
index 710143741eb5..b041f94678de 100644
--- a/include/linux/gfp.h
+++ b/include/linux/gfp.h
@@ -37,7 +37,6 @@ struct vm_area_struct;
37#define ___GFP_THISNODE 0x40000u 37#define ___GFP_THISNODE 0x40000u
38#define ___GFP_ATOMIC 0x80000u 38#define ___GFP_ATOMIC 0x80000u
39#define ___GFP_ACCOUNT 0x100000u 39#define ___GFP_ACCOUNT 0x100000u
40#define ___GFP_NOTRACK 0x200000u
41#define ___GFP_DIRECT_RECLAIM 0x400000u 40#define ___GFP_DIRECT_RECLAIM 0x400000u
42#define ___GFP_WRITE 0x800000u 41#define ___GFP_WRITE 0x800000u
43#define ___GFP_KSWAPD_RECLAIM 0x1000000u 42#define ___GFP_KSWAPD_RECLAIM 0x1000000u
@@ -201,19 +200,11 @@ struct vm_area_struct;
201 * __GFP_COMP address compound page metadata. 200 * __GFP_COMP address compound page metadata.
202 * 201 *
203 * __GFP_ZERO returns a zeroed page on success. 202 * __GFP_ZERO returns a zeroed page on success.
204 *
205 * __GFP_NOTRACK avoids tracking with kmemcheck.
206 *
207 * __GFP_NOTRACK_FALSE_POSITIVE is an alias of __GFP_NOTRACK. It's a means of
208 * distinguishing in the source between false positives and allocations that
209 * cannot be supported (e.g. page tables).
210 */ 203 */
211#define __GFP_COLD ((__force gfp_t)___GFP_COLD) 204#define __GFP_COLD ((__force gfp_t)___GFP_COLD)
212#define __GFP_NOWARN ((__force gfp_t)___GFP_NOWARN) 205#define __GFP_NOWARN ((__force gfp_t)___GFP_NOWARN)
213#define __GFP_COMP ((__force gfp_t)___GFP_COMP) 206#define __GFP_COMP ((__force gfp_t)___GFP_COMP)
214#define __GFP_ZERO ((__force gfp_t)___GFP_ZERO) 207#define __GFP_ZERO ((__force gfp_t)___GFP_ZERO)
215#define __GFP_NOTRACK ((__force gfp_t)___GFP_NOTRACK)
216#define __GFP_NOTRACK_FALSE_POSITIVE (__GFP_NOTRACK)
217 208
218/* Disable lockdep for GFP context tracking */ 209/* Disable lockdep for GFP context tracking */
219#define __GFP_NOLOCKDEP ((__force gfp_t)___GFP_NOLOCKDEP) 210#define __GFP_NOLOCKDEP ((__force gfp_t)___GFP_NOLOCKDEP)