linux-mips
[Top] [All Lists]

Re: Will ll/sc work from user space?

To: David Daney <ddaney@avtrex.com>
Subject: Re: Will ll/sc work from user space?
From: "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
Date: Fri, 19 Sep 2003 13:17:49 +0200 (MET DST)
Cc: linux-mips@linux-mips.org
In-reply-to: <3F6A4E41.1090100@avtrex.com>
Organization: Technical University of Gdansk
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
On Thu, 18 Sep 2003, David Daney wrote:

> Q:  Will ll/sc instructions work from a linux user process ?

 Yep.

> If so What happens if there is a context switch between the two?
> 
> What happens if the memory location is paged out and then back into a 
> different physical page?

 Then sc will fail.

-- 
+  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>