mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-18 14:46:47 +07:00
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
This commit is contained in:
parent
b8ca7ff773
commit
4621c9858f
@ -148,9 +148,6 @@ static noinline depot_stack_handle_t save_stack(gfp_t flags)
|
|||||||
depot_stack_handle_t handle;
|
depot_stack_handle_t handle;
|
||||||
|
|
||||||
save_stack_trace(&trace);
|
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
|
* We need to check recursion here because our request to stackdepot
|
||||||
|
Loading…
Reference in New Issue
Block a user