Re: [PATCH] lightnvm: pblk: remove spinlock when freeing line metadata

2017-10-06 Thread Javier González
> On 6 Oct 2017, at 11.20, Andrey Ryabinin wrote: > > On 10/05/2017 11:35 AM, Hans Holmberg wrote: >> From: Hans Holmberg >> >> Lockdep complains about being in atomic context while freeing line >> metadata - and rightly so as we take a

Re: [PATCH] lightnvm: pblk: remove spinlock when freeing line metadata

2017-10-06 Thread Javier González
> On 6 Oct 2017, at 11.20, Andrey Ryabinin wrote: > > On 10/05/2017 11:35 AM, Hans Holmberg wrote: >> From: Hans Holmberg >> >> Lockdep complains about being in atomic context while freeing line >> metadata - and rightly so as we take a spinlock and end up calling >> vfree that might sleep(in

Re: [PATCH] lightnvm: pblk: remove spinlock when freeing line metadata

2017-10-06 Thread Andrey Ryabinin
On 10/05/2017 11:35 AM, Hans Holmberg wrote: > From: Hans Holmberg > > Lockdep complains about being in atomic context while freeing line > metadata - and rightly so as we take a spinlock and end up calling > vfree that might sleep(in pblk_mfree). > > There is no

Re: [PATCH] lightnvm: pblk: remove spinlock when freeing line metadata

2017-10-06 Thread Andrey Ryabinin
On 10/05/2017 11:35 AM, Hans Holmberg wrote: > From: Hans Holmberg > > Lockdep complains about being in atomic context while freeing line > metadata - and rightly so as we take a spinlock and end up calling > vfree that might sleep(in pblk_mfree). > > There is no need for holding the line

[PATCH] lightnvm: pblk: remove spinlock when freeing line metadata

2017-10-05 Thread Hans Holmberg
From: Hans Holmberg Lockdep complains about being in atomic context while freeing line metadata - and rightly so as we take a spinlock and end up calling vfree that might sleep(in pblk_mfree). There is no need for holding the line manager free_lock while freeing line

[PATCH] lightnvm: pblk: remove spinlock when freeing line metadata

2017-10-05 Thread Hans Holmberg
From: Hans Holmberg Lockdep complains about being in atomic context while freeing line metadata - and rightly so as we take a spinlock and end up calling vfree that might sleep(in pblk_mfree). There is no need for holding the line manager free_lock while freeing line metadata, so remove the