lkml.org 
[lkml]   [2015]   [Feb]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [LKP] [sched] BUG: kernel boot hang
On Sun, Feb 15, 2015 at 03:43:28PM +0800, Huang Ying wrote:
> FYI, we noticed the below changes on
>
> commit a18b5d01819235629289212ad428a5ee2b40f0d9 ("sched: Fix missing preemption opportunity")

Huang,

Can you please test the following patch and check if it still crashes?

Thanks.


diff --git a/kernel/sched/core.c b/kernel/sched/core.c
index c017a5f..a6d4d6c 100644
--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
@@ -2879,7 +2879,7 @@ void __sched schedule_preempt_disabled(void)
preempt_disable();
}

-static void preempt_schedule_common(void)
+static void __sched notrace preempt_schedule_common(void)
{
do {
preempt_count_add(PREEMPT_ACTIVE);


\
 
 \ /
  Last update: 2015-02-15 17:01    [W:0.061 / U:35.748 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site