From: Keir Fraser Subject: Re: page ref/type count overflows Date: Tue, 27 Jan 2009 11:22:19 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jan Beulich Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 27/01/2009 10:24, "Keir Fraser" wrote: > On 27/01/2009 10:16, "Jan Beulich" wrote: > >> Yes, I too realized that on my way home yesterday. The only thing I see as >> viable for consideration would be to remove the embedded spinlock again, and >> use the same bit-lock as x86-32 does. > > Makes page_unlock() more expensive on x64. Don't know how much that matters. I think we could perhaps merge it into type_info and take/release it at the same time as get_page_type/put_page_type, to avoid extra atomic ops. I'll look into that. For the cpumask, I have some ideas there too... -- Keir