Re: Possible kernel lock in semaphore's __down()

2007-08-30 Thread Oleg Nesterov
(just in case Peter's explanation was too concise) On 08/30, Peter Zijlstra wrote: > > On Wed, 2007-08-29 at 23:52 +0200, Aleksandar Dezelin wrote: > > Hi! > > > > I'm a newbie here on the list and also as a "kernel hacker". There's a > > bug reported in bugzilla (Bug 7927), cite: > > > > > >

Re: Possible kernel lock in semaphore's __down()

2007-08-30 Thread Peter Zijlstra
On Wed, 2007-08-29 at 23:52 +0200, Aleksandar Dezelin wrote: > Hi! > > I'm a newbie here on the list and also as a "kernel hacker". There's a > bug reported in bugzilla (Bug 7927), cite: > > > > In the function __down > > > > fastcall void __sched __down(struct semaphore * sem) > > { > >

Re: Possible kernel lock in semaphore's __down()

2007-08-30 Thread Peter Zijlstra
On Wed, 2007-08-29 at 23:52 +0200, Aleksandar Dezelin wrote: Hi! I'm a newbie here on the list and also as a kernel hacker. There's a bug reported in bugzilla (Bug 7927), cite: In the function __down fastcall void __sched __down(struct semaphore * sem) { struct task_struct

Re: Possible kernel lock in semaphore's __down()

2007-08-30 Thread Oleg Nesterov
(just in case Peter's explanation was too concise) On 08/30, Peter Zijlstra wrote: On Wed, 2007-08-29 at 23:52 +0200, Aleksandar Dezelin wrote: Hi! I'm a newbie here on the list and also as a kernel hacker. There's a bug reported in bugzilla (Bug 7927), cite: In the function

Possible kernel lock in semaphore's __down()

2007-08-29 Thread Aleksandar Dezelin
Hi! I'm a newbie here on the list and also as a "kernel hacker". There's a bug reported in bugzilla (Bug 7927), cite: > In the function __down > > fastcall void __sched __down(struct semaphore * sem) > { > struct task_struct *tsk = current; > DECLARE_WAITQUEUE(wait, tsk); > unsigned long

Possible kernel lock in semaphore's __down()

2007-08-29 Thread Aleksandar Dezelin
Hi! I'm a newbie here on the list and also as a kernel hacker. There's a bug reported in bugzilla (Bug 7927), cite: In the function __down fastcall void __sched __down(struct semaphore * sem) { struct task_struct *tsk = current; DECLARE_WAITQUEUE(wait, tsk); unsigned long flags;