[PATCH] ppc32: arch code preempt fixes

Benjamin Herrenschmidt benh at kernel.crashing.org
Fri Mar 26 17:55:33 EST 2004

On Fri, 2004-03-26 at 17:12, Linus Torvalds wrote:
> On Fri, 26 Mar 2004, Benjamin Herrenschmidt wrote:
> >
> > I figured the best way to stop beeing bothered by users trying to run
> > preempt was to fix it ;)
> >
> > Here's a first batch that close some races we had when testing regs->msr
> > for altivec or FPU enable, then doing the giveup_* function.  A preempt
> > in between those would have caused us to save a stale altivec or FPU
> > context.
> Ok, this clashed with Paul work on threaded core-dumps.
> I fixed up the clashes by hand, but you should really check the end result
> for sanity. Ben, Paul?

Will do, thanks. Sorry for the clash, I should have pulled this morning..


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

More information about the Linuxppc-dev mailing list