[parisc-linux] [PATCH] fix SMP TLB optimisations

James Bottomley James.Bottomley at SteelEye.com
Sun Feb 25 07:47:32 MST 2007


On Sat, 2007-02-24 at 23:27 -0500, John David Anglin wrote:
> You have to watch out for "be,l" which mucks with sr0.

But practically, the kernel's not going to link to a new space, and the
user can't.

But the point isn't that we might change them ... it's that by
convention we always know what their values should be, so we didn't
really need to save them (except sr1 and sr2 from the kernel).  And
actually, that's a potential (but I suspect never seen) bug in that this
code doesn't set the space registers aggressively enough for a trap from
user context.

James





More information about the parisc-linux mailing list