diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2019-04-10 12:28:06 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2019-04-14 19:58:30 +0200 |
commit | 4621c9858f05ab08434221e3a15cc8098645ef2a (patch) | |
tree | 0e9af3ce11cd9c5fa34af46b120fb3dd67262e91 /mm/page_owner.c | |
parent | b8ca7ff7731f57b256fcc13a9b7d4913f5282e5c (diff) | |
download | linux-stable-4621c9858f05ab08434221e3a15cc8098645ef2a.tar.gz linux-stable-4621c9858f05ab08434221e3a15cc8098645ef2a.tar.bz2 linux-stable-4621c9858f05ab08434221e3a15cc8098645ef2a.zip |
mm/page_owner: 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@linutronix.de>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Alexander Potapenko <glider@google.com>
Cc: Michal Hocko <mhocko@suse.com>
Cc: linux-mm@kvack.org
Cc: Mike Rapoport <rppt@linux.vnet.ibm.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Link: https://lkml.kernel.org/r/20190410103644.661974663@linutronix.de
Diffstat (limited to 'mm/page_owner.c')
-rw-r--r-- | mm/page_owner.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/mm/page_owner.c b/mm/page_owner.c index 925b6f44a444..df277e6bc3c6 100644 --- a/mm/page_owner.c +++ b/mm/page_owner.c @@ -148,9 +148,6 @@ static noinline depot_stack_handle_t save_stack(gfp_t flags) depot_stack_handle_t handle; save_stack_trace(&trace); - if (trace.nr_entries != 0 && - trace.entries[trace.nr_entries-1] == ULONG_MAX) - trace.nr_entries--; /* * We need to check recursion here because our request to stackdepot |