[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <201111062210.11759.rjw@sisk.pl>
Date: Sun, 6 Nov 2011 22:10:11 +0100
From: "Rafael J. Wysocki" <rjw@...k.pl>
To: Tejun Heo <tj@...nel.org>
Cc: linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [GIT PULL pm/for-next] pm: freezer updates
On Sunday, November 06, 2011, Tejun Heo wrote:
> Hello, Rafael.
>
> On Sun, Nov 06, 2011 at 01:12:56PM +0100, Rafael J. Wysocki wrote:
> > On Sunday, November 06, 2011, Rafael J. Wysocki wrote:
> > > On Thursday, November 03, 2011, Tejun Heo wrote:
> > > > Hello, Rafael.
> > > >
> > > > This is pull request for the following pending patches[ets].
> > > >
> > > > [1] freezer: fix various bugs and simplify implementation, take#2
> > > > [2] usb_storage: don't use set_freezable_with_signal()
> > > > [3] freezer: kill unused set_freezable_with_signal()
> > > > [4] freezer: fix wait_event_freezable/__thaw_task races
> > > >
> > > > The patches are available in the git repository at:
> > > >
> > > > git://git.kernel.org/pub/scm/linux/kernel/git/tj/misc.git pm-freezer
> > >
> > > I pulled this to linux-pm/pm-freezer, but there were merge conflicts that
> > > I'm not 100% have been resolved correctly. Please double check if the
> > > resulting branch is OK.
> >
> > I found a mismerge in the meantime, so the linux-pm/pm-freezer branch has
> > been re-created from scratch. Please double check if it's correct.
> >
> > I intend to start merging it into linux-next after 3.2-rc1 has been released.
>
> fake_signal_wake_up() merging seems wrong. It should be calling
> signal_wake_up() with @resume == 0. Other than that, everything looks
> correct to me.
Do you mean something like this is needed on top of linux-pm/pm-freezer:
---
kernel/freezer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: linux-pm/kernel/freezer.c
===================================================================
--- linux-pm.orig/kernel/freezer.c
+++ linux-pm/kernel/freezer.c
@@ -90,7 +90,7 @@ static void fake_signal_wake_up(struct t
unsigned long flags;
if (lock_task_sighand(p, &flags)) {
- signal_wake_up(p, 1);
+ signal_wake_up(p, 0);
unlock_task_sighand(p, &flags);
}
}
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists