Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 85081f0e authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "sched: panic on corrupted stack end"

parents 379e8954 593261ce
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -4526,7 +4526,8 @@ static noinline void __schedule_bug(struct task_struct *prev)
static inline void schedule_debug(struct task_struct *prev)
{
#ifdef CONFIG_SCHED_STACK_END_CHECK
	BUG_ON(unlikely(task_stack_end_corrupted(prev)));
	if (unlikely(task_stack_end_corrupted(prev)))
		panic("corrupted stack end detected inside scheduler\n");
#endif
	/*
	 * Test if we are atomic. Since do_exit() needs to call into