Re: [tip:sched/core] sched/wait: Reimplement wait_event_freezable()

2014-11-13 Thread Pavel Machek
Hi! > > Did you test it with suspend/hibernation? Because I can't really see > > how it works. > > It calls try_to_freeze() after each schedule(). But no, I've not > actually tried. > > If we're stuck in the schedule, waiting for the event, freeze_task() > will wake us up and then we'll find fre

Re: [tip:sched/core] sched/wait: Reimplement wait_event_freezable()

2014-11-05 Thread Peter Zijlstra
On Tue, Nov 04, 2014 at 09:12:03PM +0100, Pavel Machek wrote: > Hi! > > > Commit-ID: 36df04bc5273a046f53b5e359febc1225f85aa7b > > Gitweb: > > http://git.kernel.org/tip/36df04bc5273a046f53b5e359febc1225f85aa7b > > Author: Peter Zijlstra > > AuthorDate: Wed, 29 Oct 2014 12:21:57 +0100 > >

Re: [tip:sched/core] sched/wait: Reimplement wait_event_freezable()

2014-11-04 Thread Pavel Machek
Hi! > Commit-ID: 36df04bc5273a046f53b5e359febc1225f85aa7b > Gitweb: http://git.kernel.org/tip/36df04bc5273a046f53b5e359febc1225f85aa7b > Author: Peter Zijlstra > AuthorDate: Wed, 29 Oct 2014 12:21:57 +0100 > Committer: Ingo Molnar > CommitDate: Tue, 4 Nov 2014 07:17:45 +0100 > > sched

[tip:sched/core] sched/wait: Reimplement wait_event_freezable()

2014-11-04 Thread tip-bot for Peter Zijlstra
Commit-ID: 36df04bc5273a046f53b5e359febc1225f85aa7b Gitweb: http://git.kernel.org/tip/36df04bc5273a046f53b5e359febc1225f85aa7b Author: Peter Zijlstra AuthorDate: Wed, 29 Oct 2014 12:21:57 +0100 Committer: Ingo Molnar CommitDate: Tue, 4 Nov 2014 07:17:45 +0100 sched/wait: Reimplement wa