[patch] smp-2.3.41-A1, (was: Re: BUG? i386 TLB Flushing)

Christoph Rohland hans-christoph.rohland en sap.com
Mar Ene 25 12:14:54 CST 2000


Ingo Molnar <mingo en chiara.csoma.elte.hu> writes:

> On Mon, 24 Jan 2000, Stephen C. Tweedie wrote:
> 
> > > yeah, this is indeed a bug and it also explains the one remaining 64GB
> > > mystery: the extra invlpg in highmem.c. Patch (with other SMP fixes) will
> > > follow shortly.
> > 
> > I was really, really hoping that this might lay to rest the boot
> > failures with PAE36 for me, but no such luck --- 2.3.40 still dies with
> > SIGSEGV in init.  Zach Brown can reproduce the same thing on one of his
> > boxes: Zach, does 2.3.40 do anything to help things for you?
> 
> ok, how about the attached smp-2.3.41-A1 patch:
> 
> 	- fixes dumb cr4 flushing typo found by Manfred
> 
> 	- (tries to fix) current->active_mm == NULL problem by moving the
> 	  setting of prev->active_mm to after the switch_to(). It happens
> 	  before has_cpu is set to 0, so it should be safe. It also cannot
> 	  open up a window to TLB corruption i believe.
> 
> -- mingo
> 

This fixed the problems introduced with 2.3.39 on my shm tests.

Thanks
		Christoph


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo en vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



Más información sobre la lista de distribución Ayuda