On Fri, 18 Mar 2011 Milton Miller wrote: > On Fri, 18 Mar 2011 about 15:28:42 -0700, Greg KH wrote: > > > > The patch below does not apply to the .38-stable tree. > > If someone wants it applied there, or to any other stable or longterm > > tree, then please email the backport, including the original git commit > > id to <[email protected]>. > > > > > This is the 3rd of 4 patchs to kernel/smp.c since 2.6.38 and the first > 3 are all marked for stable. The commit only touches kernel/smp.c > Perhaps you tried to apply it out of order? Or did the (v2.6.32 and later) > on the other commits cc: stable confuse the scripts? > > git rev-list --pretty=oneline v2.6.38..723aae25d5c -- kernel/smp.c > > 723aae25d5cdb09962901d36d526b44d4be1051c smp_call_function_many: handle > concurrent clearing of mask > 45a5791920ae643eafc02e2eedef1a58e341b736 call_function_many: add missing > ordering > e6cd1e07a185d5f9b0aa75e020df02d3c1c44940 call_function_many: fix list delete > vs add race > > Also, like the previous 2, it should be backported though 2.6.32 as > there were at least 3 callsites that are affected by the patch that > could otherwise lockup without alternative measures. > > Hmm, it looks like there will be some rediff needed to get all > the way back to 32. >
I pulled the longterm and/or stable git trees for 32,34,35,37,38. Upon further review, the patches apply to the longterm 32 git tree if the context is changed from raw_spin_lock_irqsave to spin_lock_irqsave and raw_spin_unlock_irqrestore to spin_unlock_irqrestore in e6cd1e07 and 723aae25d. Based on what is in the longterm git trees, 2.6.34 and 2.6.35 need to pick up 6dc19899958e420a931274b94019e267e2396d3e (kernel/smp.c: fix smp_call_function_many() SMP race) and then apply these 3. I didn't find a tree for 2.6.33 but expect the patches would apply as is since since the raw spinlock change was in 33. The 3 patches apply unmodified to stable 2.6.37. Please let me know if you have further trouble. thanks, milton _______________________________________________ stable mailing list [email protected] http://linux.kernel.org/mailman/listinfo/stable
