Re: [PATCH] zram: bug fix: delay lock holding in zram_slot_free_noity

2013-08-11 Thread Minchan Kim
Hello Greg, On Fri, Aug 09, 2013 at 04:39:08PM -0700, Greg Kroah-Hartman wrote: > On Tue, Aug 06, 2013 at 01:26:34AM +0900, Minchan Kim wrote: > > On Mon, Aug 05, 2013 at 04:18:34PM +0900, Minchan Kim wrote: > > > I was preparing to promote zram and it was almost done. > > > Before sending patch,

Re: [PATCH] zram: bug fix: delay lock holding in zram_slot_free_noity

2013-08-11 Thread Minchan Kim
Hello Greg, On Fri, Aug 09, 2013 at 04:39:08PM -0700, Greg Kroah-Hartman wrote: On Tue, Aug 06, 2013 at 01:26:34AM +0900, Minchan Kim wrote: On Mon, Aug 05, 2013 at 04:18:34PM +0900, Minchan Kim wrote: I was preparing to promote zram and it was almost done. Before sending patch, I tried

Re: [PATCH] zram: bug fix: delay lock holding in zram_slot_free_noity

2013-08-09 Thread Greg Kroah-Hartman
On Tue, Aug 06, 2013 at 01:26:34AM +0900, Minchan Kim wrote: > On Mon, Aug 05, 2013 at 04:18:34PM +0900, Minchan Kim wrote: > > I was preparing to promote zram and it was almost done. > > Before sending patch, I tried to test and eyebrows went up. > > > > [1] introduced down_write in

Re: [PATCH] zram: bug fix: delay lock holding in zram_slot_free_noity

2013-08-09 Thread Greg Kroah-Hartman
On Tue, Aug 06, 2013 at 01:26:34AM +0900, Minchan Kim wrote: On Mon, Aug 05, 2013 at 04:18:34PM +0900, Minchan Kim wrote: I was preparing to promote zram and it was almost done. Before sending patch, I tried to test and eyebrows went up. [1] introduced down_write in zram_slot_free_notify

Re: [PATCH] zram: bug fix: delay lock holding in zram_slot_free_noity

2013-08-05 Thread Minchan Kim
On Mon, Aug 05, 2013 at 04:18:34PM +0900, Minchan Kim wrote: > I was preparing to promote zram and it was almost done. > Before sending patch, I tried to test and eyebrows went up. > > [1] introduced down_write in zram_slot_free_notify to prevent race > between zram_slot_free_notify and

Re: [PATCH] zram: bug fix: delay lock holding in zram_slot_free_noity

2013-08-05 Thread Minchan Kim
Hello Greg, On Mon, Aug 05, 2013 at 04:04:22PM +0800, Greg Kroah-Hartman wrote: > On Mon, Aug 05, 2013 at 04:18:34PM +0900, Minchan Kim wrote: > > I was preparing to promote zram and it was almost done. > > Before sending patch, I tried to test and eyebrows went up. > > > > [1] introduced

Re: [PATCH] zram: bug fix: delay lock holding in zram_slot_free_noity

2013-08-05 Thread Greg Kroah-Hartman
On Mon, Aug 05, 2013 at 04:18:34PM +0900, Minchan Kim wrote: > I was preparing to promote zram and it was almost done. > Before sending patch, I tried to test and eyebrows went up. > > [1] introduced down_write in zram_slot_free_notify to prevent race > between zram_slot_free_notify and

[PATCH] zram: bug fix: delay lock holding in zram_slot_free_noity

2013-08-05 Thread Minchan Kim
I was preparing to promote zram and it was almost done. Before sending patch, I tried to test and eyebrows went up. [1] introduced down_write in zram_slot_free_notify to prevent race between zram_slot_free_notify and zram_bvec_[read|write]. The race could happen if somebody who has right

[PATCH] zram: bug fix: delay lock holding in zram_slot_free_noity

2013-08-05 Thread Minchan Kim
I was preparing to promote zram and it was almost done. Before sending patch, I tried to test and eyebrows went up. [1] introduced down_write in zram_slot_free_notify to prevent race between zram_slot_free_notify and zram_bvec_[read|write]. The race could happen if somebody who has right

Re: [PATCH] zram: bug fix: delay lock holding in zram_slot_free_noity

2013-08-05 Thread Greg Kroah-Hartman
On Mon, Aug 05, 2013 at 04:18:34PM +0900, Minchan Kim wrote: I was preparing to promote zram and it was almost done. Before sending patch, I tried to test and eyebrows went up. [1] introduced down_write in zram_slot_free_notify to prevent race between zram_slot_free_notify and

Re: [PATCH] zram: bug fix: delay lock holding in zram_slot_free_noity

2013-08-05 Thread Minchan Kim
Hello Greg, On Mon, Aug 05, 2013 at 04:04:22PM +0800, Greg Kroah-Hartman wrote: On Mon, Aug 05, 2013 at 04:18:34PM +0900, Minchan Kim wrote: I was preparing to promote zram and it was almost done. Before sending patch, I tried to test and eyebrows went up. [1] introduced down_write in

Re: [PATCH] zram: bug fix: delay lock holding in zram_slot_free_noity

2013-08-05 Thread Minchan Kim
On Mon, Aug 05, 2013 at 04:18:34PM +0900, Minchan Kim wrote: I was preparing to promote zram and it was almost done. Before sending patch, I tried to test and eyebrows went up. [1] introduced down_write in zram_slot_free_notify to prevent race between zram_slot_free_notify and