From: Juergen Gross <juergen.gross@ts.fujitsu.com>
To: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: [Patch] correct removing cpu from cpupool
Date: Mon, 09 Aug 2010 14:13:49 +0200 [thread overview]
Message-ID: <4C5FF0FD.2080905@ts.fujitsu.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 531 bytes --]
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
[-- Attachment #2: cpupool_21422.diff --]
[-- Type: text/plain, Size: 499 bytes --]
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);
}
[-- Attachment #3: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
reply other threads:[~2010-08-09 12:13 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4C5FF0FD.2080905@ts.fujitsu.com \
--to=juergen.gross@ts.fujitsu.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).