lkml.org 
[lkml]   [2013]   [Jun]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[RFC PATCH v1 0/8] small bugfixes and code improvements for zram
Date
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 protect zram_free_page() in swap free notify
path
zram: destroy all devices on error recovery path in zram_init()
zram: avoid double free in error recovery path of zram_bvec_write()
zram: avoid access beyond the zram device
zram: optimize memory operations with clear_page()/copy_page()
zram: protect sysfs handler from invalid memory access

drivers/staging/zram/zram_drv.c | 41 +++++++++++++++++++++++++--------------
drivers/staging/zram/zram_sysfs.c | 15 ++++----------
2 files changed, 30 insertions(+), 26 deletions(-)

--
1.8.1.2



\
 
 \ /
  Last update: 2013-06-03 19:23    [W:0.130 / U:0.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site