From mboxrd@z Thu Jan 1 00:00:00 1970 From: Juergen Gross Subject: [Patch] correct removing cpu from cpupool Date: Mon, 09 Aug 2010 14:13:49 +0200 Message-ID: <4C5FF0FD.2080905@ts.fujitsu.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------090408020302040003070800" 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: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --------------090408020302040003070800 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi, attached patch corrects an error introduced with cs 21422. Without the patch my machine crashed when removing a cpu from a cpupool other then Pool-0. Juergen -- Juergen Gross Principal Developer Operating Systems TSP ES&S SWE OS6 Telephone: +49 (0) 89 3222 2967 Fujitsu Technology Solutions e-mail: juergen.gross@ts.fujitsu.com Domagkstr. 28 Internet: ts.fujitsu.com D-80807 Muenchen Company details: ts.fujitsu.com/imprint.html --------------090408020302040003070800 Content-Type: text/plain; name="cpupool_21422.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="cpupool_21422.diff" Signed-off-by: juergen.gross@ts.fujitsu.com diff -r 8992134dcfd0 xen/common/schedule.c --- a/xen/common/schedule.c Wed Aug 04 19:24:17 2010 +0100 +++ b/xen/common/schedule.c Mon Aug 09 14:09:10 2010 +0200 @@ -1306,7 +1306,7 @@ void schedule_cpu_switch(unsigned int cp spin_unlock_irqrestore(per_cpu(schedule_data, cpu).schedule_lock, flags); - SCHED_OP(old_ops, free_vdata, vpriv); + SCHED_OP(old_ops, free_vdata, vpriv_old); SCHED_OP(old_ops, free_pdata, ppriv_old, cpu); } --------------090408020302040003070800 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --------------090408020302040003070800--