[lkml]   [2013]   [Jun]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCH v2 00/10] Bugfixes and minor improvements for zram
We found some issues in zram by code inspection, so generate this set
of patches for bugfixes and minor code improvements.
The first six patches are bugfixes, and should target the mainline
and even stable trees. The last 4 patches are code cleanup and
performance optimization, but not sure whether Greg is kind enough
to accept them:)

Great thanks to Minchan and Jerome for code review!

1) reorder patches so bugfixes go first
2) rewrite valid_io_request()
3) enhance comments and commit messages

Jiang Liu (10):
zram: avoid invalid memory access in zram_exit()
zram: use zram->lock to protect zram_free_page() in swap free notify
zram: destroy all devices on error recovery path in zram_init()
zram: avoid double free in function zram_bvec_write()
zram: avoid access beyond the zram device
zram: protect sysfs handler from invalid memory access
zram: simplify and optimize dev_to_zram()
zram: kill unused zram_get_num_devices()
zram: optimize memory operations with clear_page()/copy_page()
zram: use atomic64_xxx() to replace zram_stat64_xxx()

drivers/staging/zram/zram_drv.c | 109 +++++++++++++++++---------------------
drivers/staging/zram/zram_drv.h | 26 ++++-----
drivers/staging/zram/zram_sysfs.c | 36 ++++---------
3 files changed, 73 insertions(+), 98 deletions(-)


 \ /
  Last update: 2013-06-07 02:21    [W:0.179 / U:9.272 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site