Re: [RFC][PATCH 0/7] nested sleeps, fixes and debug infra

2014-08-07 Thread Peter Zijlstra
On Wed, Aug 06, 2014 at 02:16:03PM -0700, David Miller wrote: > From: Peter Zijlstra > Date: Wed, 6 Aug 2014 10:31:34 +0200 > > > On Wed, Aug 06, 2014 at 11:51:29AM +0400, Ilya Dryomov wrote: > > > >> OK, this one is a bit different. > >> > >> WARNING: CPU: 1 PID: 1744 at kernel/sched/core.c:71

Re: [RFC][PATCH 0/7] nested sleeps, fixes and debug infra

2014-08-06 Thread David Miller
From: Peter Zijlstra Date: Wed, 6 Aug 2014 10:31:34 +0200 > On Wed, Aug 06, 2014 at 11:51:29AM +0400, Ilya Dryomov wrote: > >> OK, this one is a bit different. >> >> WARNING: CPU: 1 PID: 1744 at kernel/sched/core.c:7104 >> __might_sleep+0x58/0x90() >> do not call blocking ops when !TASK_RUNNIN

Re: [RFC][PATCH 0/7] nested sleeps, fixes and debug infra

2014-08-06 Thread Peter Zijlstra
On Wed, Aug 06, 2014 at 11:51:29AM +0400, Ilya Dryomov wrote: > OK, this one is a bit different. > > WARNING: CPU: 1 PID: 1744 at kernel/sched/core.c:7104 > __might_sleep+0x58/0x90() > do not call blocking ops when !TASK_RUNNING; state=1 set at > [] prepare_to_wait+0x50 /0xa0 > [] __might_sle

Re: [RFC][PATCH 0/7] nested sleeps, fixes and debug infra

2014-08-06 Thread Ilya Dryomov
On Tue, Aug 5, 2014 at 5:06 PM, Peter Zijlstra wrote: > On Tue, Aug 05, 2014 at 12:33:16PM +0400, Ilya Dryomov wrote: >> On Mon, Aug 4, 2014 at 2:30 PM, Peter Zijlstra wrote: >> > Hi, >> > >> > Ilya recently tripped over a nested sleep which made Ingo suggest we should >> > have debug checks for

Re: [RFC][PATCH 0/7] nested sleeps, fixes and debug infra

2014-08-05 Thread Peter Zijlstra
On Tue, Aug 05, 2014 at 12:33:16PM +0400, Ilya Dryomov wrote: > On Mon, Aug 4, 2014 at 2:30 PM, Peter Zijlstra wrote: > > Hi, > > > > Ilya recently tripped over a nested sleep which made Ingo suggest we should > > have debug checks for that. So I did some, see patch 7. Of course that > > triggered

Re: [RFC][PATCH 0/7] nested sleeps, fixes and debug infra

2014-08-05 Thread Ilya Dryomov
On Mon, Aug 4, 2014 at 2:30 PM, Peter Zijlstra wrote: > Hi, > > Ilya recently tripped over a nested sleep which made Ingo suggest we should > have debug checks for that. So I did some, see patch 7. Of course that > triggered a whole bunch of fail the instant I tried to boot my machine. > > With th

[RFC][PATCH 0/7] nested sleeps, fixes and debug infra

2014-08-04 Thread Peter Zijlstra
Hi, Ilya recently tripped over a nested sleep which made Ingo suggest we should have debug checks for that. So I did some, see patch 7. Of course that triggered a whole bunch of fail the instant I tried to boot my machine. With this series I can boot my test box and build a kernel on it, I'm fair