From: "Jan Beulich" Subject: Re: [PATCH][Linux] Fix access to xenstore hangs afterhotremove CPU Date: Tue, 27 Nov 2007 08:03:51 +0000 Message-ID: <474BDD77.76E4.0078.0@novell.com> References: <7khcj8fh80.fsf@pingu.sky.yk.fujitsu.co.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <7khcj8fh80.fsf@pingu.sky.yk.fujitsu.co.jp> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Kouya Shimura Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Using __cpuinitdata (or __cpuinit) in #ifdef CONFIG_HOTPLUG_CPU sections is pointless. Either remove the #ifdef-s (and mark evtchn_cpu_notify() __cpuinit) or remove the __cpuinitdata. I think the former is the = preferred upstream approach. Jan >>> Kouya Shimura 27.11.07 05:24 >>> Hi, CPU hotplug doesn't support user-space event channels. $ echo 0 > /sys/devices/system/cpu/cpu1/online $ xenstore-ls ... hangs up ... Attached patch fixes it. Thanks, Kouya Signed-off-by: Kouya Shimura