All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Zhai, Edwin" <edwin.zhai@intel.com>
To: Ian Pratt <Ian.Pratt@cl.cam.ac.uk>,
	Keir Fraser <Keir.Fraser@cl.cam.ac.uk>,
	Tim Deegan <Tim.Deegan@xensource.com>
Cc: xen-devel@lists.xensource.com, edwin.zhai@intel.com
Subject: [PATCH][HVM] fix VNIF restore failure on HVM guest with heavy workload
Date: Wed, 11 Apr 2007 00:47:38 +0800	[thread overview]
Message-ID: <20070410164738.GA24587@edwin-gen.ccr> (raw)

[PATCH][HVM] fix VNIF restore failure on HVM guest with heavy workload

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>

VNIF has many intrs when save/restore with net workload, so need keep handler from intrs

diff -r 2fab1ec4dc74 linux-2.6-xen-sparse/drivers/xen/core/reboot.c
--- a/linux-2.6-xen-sparse/drivers/xen/core/reboot.c	Mon Apr 09 16:35:01 2007 +0800
+++ b/linux-2.6-xen-sparse/drivers/xen/core/reboot.c	Tue Apr 10 16:44:52 2007 +0800
@@ -44,12 +44,14 @@ int __xen_suspend(int fast_suspend)
 int __xen_suspend(int fast_suspend)
 {
 	xenbus_suspend();
+	local_irq_disable();
 	platform_pci_suspend();
 
 	/* pvdrv sleep in this hyper-call when save */
 	HYPERVISOR_shutdown(SHUTDOWN_suspend);
 
 	platform_pci_resume();
+	local_irq_enable();
 	xenbus_resume();
 	printk("PV stuff on HVM resume successfully!\n");

             reply	other threads:[~2007-04-10 16:47 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-10 16:47 Zhai, Edwin [this message]
2007-04-10 19:16 ` [PATCH][HVM] fix VNIF restore failure on HVM guest with heavy workload Keir Fraser
2007-04-11  7:20   ` Zhai, Edwin
2007-04-11  7:41     ` Keir Fraser
2007-04-11  8:56     ` Keir Fraser
2007-04-11 16:24       ` Re: [PATCH][HVM] fix VNIF restore failure on HVMguest " Zhao, Fan
2007-04-11 16:54         ` Re: [PATCH][HVM] fix VNIF restore failure on HVMguestwith " Steven Hand
2007-04-12 18:46           ` Mark Williamson
2007-04-12 18:51             ` Steven Hand
2007-04-13  9:42               ` Keir Fraser
2007-04-11 17:32         ` Re: [PATCH][HVM] fix VNIF restore failure on HVMguest with " Keir Fraser
2007-04-12  2:47           ` Zhao, Fan
2007-04-12  7:06             ` Keir Fraser

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=20070410164738.GA24587@edwin-gen.ccr \
    --to=edwin.zhai@intel.com \
    --cc=Ian.Pratt@cl.cam.ac.uk \
    --cc=Keir.Fraser@cl.cam.ac.uk \
    --cc=Tim.Deegan@xensource.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.