[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <tip-ead97a49ec3a3cb9b5133acbfed9a49b91ebf37c@git.kernel.org>
Date: Sun, 14 Apr 2019 13:42:15 -0700
From: tip-bot for Thomas Gleixner <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: hpa@...or.com, jpoimboe@...hat.com, peterz@...radead.org,
linux-kernel@...r.kernel.org, mingo@...nel.org,
aryabinin@...tuozzo.com, luto@...nel.org, glider@...gle.com,
tglx@...utronix.de, rostedt@...dmis.org, dvyukov@...gle.com
Subject: [tip:core/stacktrace] mm/kasan: Remove the ULONG_MAX stack trace
hackery
Commit-ID: ead97a49ec3a3cb9b5133acbfed9a49b91ebf37c
Gitweb: https://git.kernel.org/tip/ead97a49ec3a3cb9b5133acbfed9a49b91ebf37c
Author: Thomas Gleixner <tglx@...utronix.de>
AuthorDate: Wed, 10 Apr 2019 12:28:07 +0200
Committer: Thomas Gleixner <tglx@...utronix.de>
CommitDate: Sun, 14 Apr 2019 19:58:31 +0200
mm/kasan: Remove the ULONG_MAX stack trace hackery
No architecture terminates the stack trace with ULONG_MAX anymore. Remove
the cruft.
Signed-off-by: Thomas Gleixner <tglx@...utronix.de>
Acked-by: Dmitry Vyukov <dvyukov@...gle.com>
Acked-by: Peter Zijlstra (Intel) <peterz@...radead.org>
Cc: Josh Poimboeuf <jpoimboe@...hat.com>
Cc: Andy Lutomirski <luto@...nel.org>
Cc: Steven Rostedt <rostedt@...dmis.org>
Cc: Alexander Potapenko <glider@...gle.com>
Cc: Andrey Ryabinin <aryabinin@...tuozzo.com>
Cc: kasan-dev@...glegroups.com
Cc: linux-mm@...ck.org
Link: https://lkml.kernel.org/r/20190410103644.750219625@linutronix.de
---
mm/kasan/common.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/mm/kasan/common.c b/mm/kasan/common.c
index 80bbe62b16cd..38e5f20a775a 100644
--- a/mm/kasan/common.c
+++ b/mm/kasan/common.c
@@ -74,9 +74,6 @@ static inline depot_stack_handle_t save_stack(gfp_t flags)
save_stack_trace(&trace);
filter_irq_stacks(&trace);
- if (trace.nr_entries != 0 &&
- trace.entries[trace.nr_entries-1] == ULONG_MAX)
- trace.nr_entries--;
return depot_save_stack(&trace, flags);
}
Powered by blists - more mailing lists