From: Keir Fraser Subject: Re: [PATCH] acm: fix deadlock and bogus loop (Was Re: [Xen-changelog] [xen-unstable] acm: Further fixes after grant-table changes.) Date: Tue, 20 Feb 2007 22:53:05 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1367866081==" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Stefan Berger Cc: Isaku Yamahata , xen-devel@lists.xensource.com, Keir Fraser List-Id: xen-devel@lists.xenproject.org > This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --===============1367866081== Content-type: multipart/alternative; boundary="B_3254856788_7136237" > This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --B_3254856788_7136237 Content-type: text/plain; charset="ISO-8859-1" Content-transfer-encoding: quoted-printable On 20/2/07 19:00, "Stefan Berger" wrote: > I saw that sha_copy is used and a copy is being made of the shared entry.= Is > the copy necessary considering that there's a spinlock or could we not ra= ther > use a pointer?=20 Why are you looking at the shared grant table at all, when it=B9s the active table that tells you with certainty which grant entries are in use? -- Keir --B_3254856788_7136237 Content-type: text/html; charset="ISO-8859-1" Content-transfer-encoding: quoted-printable Re: [Xen-devel] [PATCH] acm: fix deadlock and bogus loop (Was Re: [X= en-changelog] [xen-unstable] acm: Further fixes after grant-table changes.)<= /TITLE> </HEAD> <BODY> <FONT FACE=3D"Verdana, Helvetica, Arial"><SPAN STYLE=3D'font-size:12.0px'><BR> <BR> <BR> On 20/2/07 19:00, "Stefan Berger" <stefanb@us.ibm.com> wrot= e:<BR> <BR> </SPAN></FONT><BLOCKQUOTE><SPAN STYLE=3D'font-size:12.0px'><FONT FACE=3D"Monaco= , Courier New">I saw that sha_copy is used and a copy is being made of the s= hared entry. Is the copy necessary considering that there's a spinlock or co= uld we not rather use a pointer?</FONT><FONT FACE=3D"Verdana, Helvetica, Arial= "> <BR> </FONT></SPAN></BLOCKQUOTE><SPAN STYLE=3D'font-size:12.0px'><FONT FACE=3D"Verda= na, Helvetica, Arial"><BR> Why are you looking at the shared grant table at all, when it’s the a= ctive table that tells you with certainty which grant entries are in use?<BR= > <BR>  -- Keir<BR> </FONT></SPAN> </BODY> </HTML> --B_3254856788_7136237-- --===============1367866081== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1367866081==--