lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 29 Apr 2016 01:17:08 +0900
From:	Sergey Senozhatsky <sergey.senozhatsky@...il.com>
To:	Minchan Kim <minchan@...nel.org>
Cc:	Andrew Morton <akpm@...ux-foundation.org>,
	linux-kernel@...r.kernel.org,
	Sergey Senozhatsky <sergey.senozhatsky.work@...il.com>,
	Sergey Senozhatsky <sergey.senozhatsky@...il.com>
Subject: [PATCH 0/2] zram: switch to per-cpu compression streams

Hello,

The patchset drops idle compression streams list from zcomp, so
zram now is using per-cpu compression streams. This removes two
spin_lock()/spin_unlock() calls from the write path and prevents
write OP from being preempted with active compression stream,
which improves performance (according to the tests, see commit
messages) and simplifies the code.

against next-20160428

Sergey Senozhatsky (2):
  zsmalloc: require GFP in zs_malloc()
  zram: user per-cpu compression streams

 drivers/block/zram/zcomp.c    | 293 ++++++++++++------------------------------
 drivers/block/zram/zcomp.h    |  12 +-
 drivers/block/zram/zram_drv.c |  34 ++++-
 include/linux/zsmalloc.h      |   2 +-
 mm/zsmalloc.c                 |  15 +--
 5 files changed, 119 insertions(+), 237 deletions(-)

-- 
2.8.0

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ