Re: 8d2bd61bd8 ("sched/core: Clean up sched_init() a bit"): BUG: unable to handle page fault for address: 00ba0396

From: Ingo Molnar
Date: Sat May 25 2019 - 07:53:04 EST



* kernel test robot <lkp@xxxxxxxxx> wrote:

> Greetings,
>
> 0day kernel testing robot got the below dmesg and the first bad commit is
>
> https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched/core
>
> commit 8d2bd61bd89260d5da5eaef7cf264587f19a7e0d
> Author: Qian Cai <cai@xxxxxx>
> AuthorDate: Wed May 22 14:20:06 2019 -0400
> Commit: Ingo Molnar <mingo@xxxxxxxxxx>
> CommitDate: Fri May 24 08:57:29 2019 +0200
>
> sched/core: Clean up sched_init() a bit
>
> Compiling a kernel with both FAIR_GROUP_SCHED=n and RT_GROUP_SCHED=n
> will generate a warning using W=1:
>
> kernel/sched/core.c: In function 'sched_init':
> kernel/sched/core.c:5906:32: warning: variable 'ptr' set but not used
>
> Use this opportunity to tidy up a code a bit by removing unnecssary
> indentations and lines.
>
> Signed-off-by: Qian Cai <cai@xxxxxx>
> Cc: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
> Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
> Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
> Link: http://lkml.kernel.org/r/1558549206-13031-1-git-send-email-cai@xxxxxx
> [ Also remove some of the unnecessary #endif comments. ]
> Signed-off-by: Ingo Molnar <mingo@xxxxxxxxxx>

I've removed this commit for the time being.

Thanks,

Ingo