Re: [RFC PATCH v1 0/8] small bugfixes and code improvements for zram

2013-06-04 Thread Minchan Kim
Hello, On Mon, Jun 03, 2013 at 11:42:12PM +0800, Jiang Liu wrote: > This patchset is to fix issues in zram found by code inspection. > There is still one more issue left: should we repalce zram_stat64_xxx() > with atomic64_xxx()? > > Jiang Liu (8): > zram: simplify and optimize zram_to_dev() >

[RFC PATCH v1 0/8] small bugfixes and code improvements for zram

2013-06-03 Thread Jiang Liu
This patchset is to fix issues in zram found by code inspection. There is still one more issue left: should we repalce zram_stat64_xxx() with atomic64_xxx()? Jiang Liu (8): zram: simplify and optimize zram_to_dev() zram: avoid invalid memory access in zram_exit() zram: use zram->lock to prot