From: Keir Fraser Subject: Re: next->vcpu_dirty_cpumask checking at the top of context_switch() Date: Thu, 16 Apr 2009 17:08:13 +0100 Message-ID: References: <49E767F5.76EA.0078.0@novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <49E767F5.76EA.0078.0@novell.com> 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 16/04/2009 16:16, "Jan Beulich" wrote: > Bottom line question is - can't the second !cpus_empty() check go away > altogether, and shouldn't the argument passed to flush_tlb_mask() be > dirty_mask instead of next->vcpu_dirty_cpumask? If you think cpus_empty() checks/warns/bugs could do with sanitising, please send that on separately from other performance-related changes. And I'll let you know what I think of it when I can see the all the details. -- Keir