public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH v1 0/8] small bugfixes and code improvements for zram
@ 2013-06-03 15:42 Jiang Liu
  2013-06-03 15:42 ` [RFC PATCH v1 1/8] zram: simplify and optimize zram_to_dev() Jiang Liu
                   ` (8 more replies)
  0 siblings, 9 replies; 20+ messages in thread
From: Jiang Liu @ 2013-06-03 15:42 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Nitin Gupta, Minchan Kim, Jerome Marchand
  Cc: Yijing Wang, Jiang Liu, devel, linux-kernel

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


^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2013-06-05  8:53 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-03 15:42 [RFC PATCH v1 0/8] small bugfixes and code improvements for zram Jiang Liu
2013-06-03 15:42 ` [RFC PATCH v1 1/8] zram: simplify and optimize zram_to_dev() Jiang Liu
2013-06-04 13:09   ` Jerome Marchand
2013-06-04 14:31     ` Jiang Liu
2013-06-03 15:42 ` [RFC PATCH v1 2/8] zram: avoid invalid memory access in zram_exit() Jiang Liu
2013-06-04  9:03   ` Minchan Kim
2013-06-04 14:27     ` Jiang Liu
2013-06-03 15:42 ` [RFC PATCH v1 3/8] zram: use zram->lock to protect zram_free_page() in swap free notify path Jiang Liu
2013-06-03 15:42 ` [RFC PATCH v1 4/8] zram: destroy all devices on error recovery path in zram_init() Jiang Liu
2013-06-04  8:49   ` Dan Carpenter
2013-06-04 14:57     ` Jiang Liu
2013-06-03 15:42 ` [RFC PATCH v1 5/8] zram: avoid double free in error recovery path of zram_bvec_write() Jiang Liu
2013-06-04 13:27   ` Jerome Marchand
2013-06-03 15:42 ` [RFC PATCH v1 6/8] zram: avoid access beyond the zram device Jiang Liu
2013-06-04 13:15   ` Jerome Marchand
2013-06-04 15:09     ` Jiang Liu
2013-06-05  8:52       ` Jerome Marchand
2013-06-03 15:42 ` [RFC PATCH v1 7/8] zram: optimize memory operations with clear_page()/copy_page() Jiang Liu
2013-06-03 15:42 ` [RFC PATCH v1 8/8] zram: protect sysfs handler from invalid memory access Jiang Liu
2013-06-04  9:00 ` [RFC PATCH v1 0/8] small bugfixes and code improvements for zram Minchan Kim

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox