mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: Ian Campbell <Ian.Campbell@citrix.com>
Cc: "linux-pm@lists.linux-foundation.org" 
	<linux-pm@lists.linux-foundation.org>,
	Shriram Rajagopalan <rshriram@cs.ubc.ca>,
	"xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
	LKML <linux-kernel@vger.kernel.org>
Subject: Re: [Xen-devel] [PATCH] PM / Hibernate: Introduce CONFIG_HIBERNATE_INTERFACE
Date: Wed, 30 Mar 2011 23:10:24 +0200	[thread overview]
Message-ID: <201103302310.24717.rjw@sisk.pl> (raw)
In-Reply-To: <201103292139.35645.rjw@sisk.pl>

On Tuesday, March 29, 2011, Rafael J. Wysocki wrote:
> On Tuesday, March 29, 2011, Ian Campbell wrote:
> > Hi Rafael,
> > 
> > On Sat, 2011-03-26 at 11:29 +0000, Rafael J. Wysocki wrote:
> > > From: Rafael J. Wysocki <rjw@sisk.pl>
> > > 
> > > Xen save/restore is going to use hibernate device callbacks for
> > > quiescing devices and putting them back to normal operations and it
> > > would need to select CONFIG_HIBERNATION for this purpose.  However,
> > > that also would cause the hibernate interfaces for user space to be
> > > enabled, which might confuse user space, because the Xen kernels
> > > don't support hibernation.  Moreover, it would be wasteful, as it
> > > would make the Xen kernels include a substantial amount of code that
> > > they would never use.
> > > 
> > > To address this issue introduce new power management Kconfig option
> > > CONFIG_HIBERNATE_INTERFACE, such that the hibernate interfaces for
> > > user space and the image-handling code will depend on it and it will
> > > select CONFIG_HIBERNATION.  Then, Xen save/restore will be able to
> > > select CONFIG_HIBERNATION without dragging the entire hibernate code
> > > along with it.
> > > 
> > > Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
> > 
> > Were you planning to put this forward for 2.6.39 or are you waiting for
> > 2.6.40?
> 
> I'm goint to push it for 2.6.39.  In fact, I'm going to send the pull request
> shortly.

Unfortunately Linus didn't like it, so I need to rework it to make him happy.

As a result the patch is not going to go into 2.6.39.

Thanks,
Rafael

      reply	other threads:[~2011-03-30 21:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-26 11:29 Rafael J. Wysocki
2011-03-29 15:53 ` [Xen-devel] " Ian Campbell
2011-03-29 19:39   ` Rafael J. Wysocki
2011-03-30 21:10     ` Rafael J. Wysocki [this message]

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=201103302310.24717.rjw@sisk.pl \
    --to=rjw@sisk.pl \
    --cc=Ian.Campbell@citrix.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@lists.linux-foundation.org \
    --cc=rshriram@cs.ubc.ca \
    --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

all inboxes | Powered by JetHome®