linux-mips
[Top] [All Lists]

Re: [PATCH] disable interrupt for non-LLSC atomic set

To: Jun Sun <jsun@mvista.com>
Subject: Re: [PATCH] disable interrupt for non-LLSC atomic set
From: "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
Date: Fri, 11 Jan 2002 18:40:07 +0100 (MET)
Cc: ralf@oss.sgi.com, linux-mips@oss.sgi.com
In-reply-to: <20020111092346.C32345@mvista.com>
Organization: Technical University of Gdansk
Reply-to: "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
Sender: owner-linux-mips@oss.sgi.com
On Fri, 11 Jan 2002, Jun Sun wrote:

> >  No need to -- no sane interrupt handler will ever access a user's atomic
> > variable. 
> 
> OK, I have to reveal the secret desire :-).  I have a patch
> that makes MIPS kernel preemptible, and that unprotected operation
> becomes very volunerable with the preemptible patch.

 I see.  But why not to keep the MIPS_ATOMIC update together with the
patch then?  It doesn't look like such a patch is going into the official
kernel anytime soon.

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +


<Prev in Thread] Current Thread [Next in Thread>