WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] get_page put_page cmpxchg problem?

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] get_page put_page cmpxchg problem?
From: "King, Steven R" <steven.r.king@xxxxxxxxx>
Date: Thu, 21 Jul 2005 13:59:30 -0700
Delivery-date: Thu, 21 Jul 2005 20:58:10 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcWONxayz4eoYJovTLCKzgySH6MFAg==
Thread-topic: get_page put_page cmpxchg problem?
Hi Folks,
In -unstable (I haven't updated in a few days), I'm investigating a problem in which revalidate_l1() fails because get_page() fails due to a count_info of 0.  While that problem is still hanging over me, I did notice that get_page() in include/asm-x86/mm.h does a 64-bit cmpxchg while put_page() only does a 32-bit cmpxchg.  Seemed odd to me and possibly related to my bug.    I'm running on a 32-bit machine without shadow tables.
 
Can anyone offer an explanation?
 
Thanks for your time,
-steve
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>