Re: [scheduler] BUG: unable to handle kernel paging request at 000000000000d110

From: David Rientjes
Date: Wed Jul 30 2014 - 19:44:40 EST


On Wed, 30 Jul 2014, Fengguang Wu wrote:

>
> Hi Christoph,
>
> The parent commit is clean in this case.
>
> git://git.kernel.org/pub/scm/linux/kernel/git/tj/percpu.git for-3.17-consistent-ops
> commit 9b0c63851edaf54e909475fe2a0946f57810e98a
> Author: Christoph Lameter <cl@xxxxxxxxx>
> AuthorDate: Fri Jun 20 14:31:18 2014 -0500
> Commit: Tejun Heo <tj@xxxxxxxxxx>
> CommitDate: Fri Jul 18 19:21:39 2014 -0400
>
> scheduler: Replace __get_cpu_var with this_cpu_ptr
>
> Convert all uses of __get_cpu_var for address calculation to use
> this_cpu_ptr instead.
>
> Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
> Acked-by: Ingo Molnar <mingo@xxxxxxxxxx>
> Signed-off-by: Christoph Lameter <cl@xxxxxxxxx>
> Signed-off-by: Tejun Heo <tj@xxxxxxxxxx>

All the instances in kernel/sched/* should be of the form
*this_cpu_ptr(&mask) due to the special handling of struct cpumask *,
correct?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/