Re: [PATCH] modules fix incorrect percpu usage

From: Steven Rostedt
Date: Tue Mar 30 2010 - 09:20:12 EST


On Mon, 2010-03-29 at 23:36 -0400, Mathieu Desnoyers wrote:
> * Mathieu Desnoyers (mathieu.desnoyers@xxxxxxxxxxxx) wrote:
> > Should use per_cpu_ptr() to obfuscate the per cpu pointers (RELOC_HIDE is needed
> > for per cpu pointers).
> >
> > Introduced by commit:
> >
> > module.c: commit 6b588c18f8dacfa6d7957c33c5ff832096e752d3
> >
> > This patch should be queued for the stable branch, for kernels 2.6.29.x to
> > 2.6.33.x.
> > (tested on 2.6.33.1 x86_64)
>
> It's actually needed for mainline too (2.6.34-rc2).

Then all you need to do is submit it for mainline with a
"Cc: stable@xxxxxxxxxx" as you did below. It will then automatically be
added to the stable queue when Linus pulls it.

-- Steve

>
> Thanks,
>
> Mathieu
>
> >
> > Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@xxxxxxxxxxxx>
> > CC: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
> > CC: Eric Dumazet <dada1@xxxxxxxxxxxxx>
> > CC: Rusty Russell <rusty@xxxxxxxxxxxxxxx>
> > CC: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>
> > CC: Tejun Heo <tj@xxxxxxxxxx>
> > CC: Ingo Molnar <mingo@xxxxxxx>
> > CC: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
> > CC: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
> > CC: Greg Kroah-Hartman <gregkh@xxxxxxx>
> > CC: Steven Rostedt <rostedt@xxxxxxxxxxx>
> > CC: stable <stable@xxxxxxxxxx>
> > ---
> > kernel/module.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> >

--
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/