Xen 
 
Home About Xen.org Xen Xen Summit Wiki Mailing List Bug Tracker Xen Downloads
 
   
 

xen-devel

Re: [Xen-devel] NetBSD port and a couple of remarks

To: Steven Hand <Steven.Hand@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] NetBSD port and a couple of remarks
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Wed, 28 Jan 2004 16:51:18 +0000
Cc: Christian Limpach <chris@xxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 28 Jan 2004 16:51:18 +0000
Envelope-to: Steven.Hand@xxxxxxxxxxxx
In-reply-to: Your message of "Wed, 28 Jan 2004 16:38:05 GMT." <E1Alsha-000394-00@xxxxxxxxxxxxxxxxxxxx>
> > This will result in a $40000001 count and then after a switch to another
> > table and an unpin of the initial table, the count will be 0.
> 
> 
> Ack ; as I noted in the previous email, the dropping of ref counts
> in the unpin code looked suspicious. 

The unpin code is fine, but the initial page directory does not have
its refcnt incremented to reflect that CR3 is pointing at it. This is
fixed in 1.2 and 1.3 but I guess we thought we'd obsoleted 1.1 by then.

I'll check in the fix.

 -- Keir