Re: [PATCH v6 1/4] zram: Fix deadlock bug in partial read/write

2013-01-30 Thread Jerome Marchand
On 01/30/2013 03:41 AM, Minchan Kim wrote: > Now zram allocates new page with GFP_KERNEL in zram I/O path > if IO is partial. Unfortunately, It may cause deadlock with > reclaim path like below. > > write_page from fs > fs_lock > allocation(GFP_KERNEL) > reclaim > pageout >

[PATCH v6 1/4] zram: Fix deadlock bug in partial read/write

2013-01-29 Thread Minchan Kim
Now zram allocates new page with GFP_KERNEL in zram I/O path if IO is partial. Unfortunately, It may cause deadlock with reclaim path like below. write_page from fs fs_lock allocation(GFP_KERNEL) reclaim pageout write_page from fs fs_