From: Keir Fraser Subject: CPU offlining patch xen-unstable:21049 Date: Thu, 15 Apr 2010 09:31:21 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Jiang, Yunhong" Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org Yunhong, Just thinking some more about the above patch, which made the xenpf_lock and systctl_lock both retryable. I don't think this is necessary after all, since cpu_down() is called via continue_hypercall_on_cpu(), and hence these locks are released before the hypercall continuation is executed. Hence we should be able to revert a couple of hunks of this changeset, as only cpu_add_remove_lock is actually a problem, wouldn't you agree? -- Keir