Re: [PATCH] clk: Really fix deadlock with mmap_sem

2014-12-12 Thread Thomas Gleixner
On Fri, 12 Dec 2014, Stephen Boyd wrote: > Commit 6314b6796e3c (clk: Don't hold prepare_lock across debugfs > creation, 2014-09-04) forgot to update one place where we hold > the prepare_lock while creating debugfs directories. This means > we still have the chance of a deadlock that the commit wa

Re: [PATCH] clk: Really fix deadlock with mmap_sem

2014-12-12 Thread Russell King - ARM Linux
On Fri, Dec 12, 2014 at 03:24:16PM -0800, Mike Turquette wrote: > Quoting Russell King - ARM Linux (2014-12-12 15:05:43) > > On Fri, Dec 12, 2014 at 03:04:16PM -0800, Stephen Boyd wrote: > > > Commit 6314b6796e3c (clk: Don't hold prepare_lock across debugfs > > > creation, 2014-09-04) forgot to upd

Re: [PATCH] clk: Really fix deadlock with mmap_sem

2014-12-12 Thread Mike Turquette
Quoting Russell King - ARM Linux (2014-12-12 15:05:43) > On Fri, Dec 12, 2014 at 03:04:16PM -0800, Stephen Boyd wrote: > > Commit 6314b6796e3c (clk: Don't hold prepare_lock across debugfs > > creation, 2014-09-04) forgot to update one place where we hold > > the prepare_lock while creating debugfs

Re: [PATCH] clk: Really fix deadlock with mmap_sem

2014-12-12 Thread Russell King - ARM Linux
On Fri, Dec 12, 2014 at 03:04:16PM -0800, Stephen Boyd wrote: > Commit 6314b6796e3c (clk: Don't hold prepare_lock across debugfs > creation, 2014-09-04) forgot to update one place where we hold > the prepare_lock while creating debugfs directories. This means > we still have the chance of a deadloc

[PATCH] clk: Really fix deadlock with mmap_sem

2014-12-12 Thread Stephen Boyd
Commit 6314b6796e3c (clk: Don't hold prepare_lock across debugfs creation, 2014-09-04) forgot to update one place where we hold the prepare_lock while creating debugfs directories. This means we still have the chance of a deadlock that the commit was trying to fix. Actually fix it by moving the deb