All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] zsmalloc/zram: drop zram's max_zpage_size
@ 2018-02-07  9:29 ` Sergey Senozhatsky
  0 siblings, 0 replies; 42+ messages in thread
From: Sergey Senozhatsky @ 2018-02-07  9:29 UTC (permalink / raw)
  To: Minchan Kim, Andrew Morton
  Cc: linux-kernel, linux-mm, Sergey Senozhatsky, Sergey Senozhatsky

Hello,

	ZRAM's max_zpage_size is a bad thing. It forces zsmalloc to
store normal objects as huge ones, which results in bigger zsmalloc
memory usage. Drop it and use actual zsmalloc huge-class value when
decide if the object is huge or not.

Sergey Senozhatsky (2):
  zsmalloc: introduce zs_huge_object() function
  zram: drop max_zpage_size and use zs_huge_object()

 drivers/block/zram/zram_drv.c |  6 +++---
 drivers/block/zram/zram_drv.h | 16 ----------------
 include/linux/zsmalloc.h      |  2 ++
 mm/zsmalloc.c                 | 17 +++++++++++++++++
 4 files changed, 22 insertions(+), 19 deletions(-)

-- 
2.16.1

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

end of thread, other threads:[~2018-02-26  8:12 UTC | newest]

Thread overview: 42+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-07  9:29 [PATCH 0/2] zsmalloc/zram: drop zram's max_zpage_size Sergey Senozhatsky
2018-02-07  9:29 ` Sergey Senozhatsky
2018-02-07  9:29 ` [PATCH 1/2] zsmalloc: introduce zs_huge_object() function Sergey Senozhatsky
2018-02-07  9:29   ` Sergey Senozhatsky
2018-02-08 16:30   ` Mike Rapoport
2018-02-08 16:30     ` Mike Rapoport
2018-02-09  2:55     ` Sergey Senozhatsky
2018-02-09  2:55       ` Sergey Senozhatsky
2018-02-09  4:10       ` Matthew Wilcox
2018-02-09  4:10         ` Matthew Wilcox
2018-02-09  5:04         ` Sergey Senozhatsky
2018-02-09  5:04           ` Sergey Senozhatsky
2018-02-09  5:36         ` Sergey Senozhatsky
2018-02-09  5:36           ` Sergey Senozhatsky
2018-02-09  5:48           ` Sergey Senozhatsky
2018-02-09  5:48             ` Sergey Senozhatsky
2018-02-09 11:11           ` Mike Rapoport
2018-02-09 11:11             ` Mike Rapoport
2018-02-09 12:34             ` Sergey Senozhatsky
2018-02-09 12:34               ` Sergey Senozhatsky
2018-02-10  8:23   ` [PATCHv2 " Sergey Senozhatsky
2018-02-10  8:23     ` Sergey Senozhatsky
2018-02-11  7:05     ` Mike Rapoport
2018-02-11  7:05       ` Mike Rapoport
2018-02-14  5:52       ` Sergey Senozhatsky
2018-02-14  5:52         ` Sergey Senozhatsky
2018-02-14  5:57     ` [PATCHv3 " Sergey Senozhatsky
2018-02-14  5:57       ` Sergey Senozhatsky
2018-02-20  1:24       ` Minchan Kim
2018-02-20  1:24         ` Minchan Kim
2018-02-26  5:49         ` Sergey Senozhatsky
2018-02-26  5:49           ` Sergey Senozhatsky
2018-02-26  5:58           ` Minchan Kim
2018-02-26  5:58             ` Minchan Kim
2018-02-26  6:50             ` Sergey Senozhatsky
2018-02-26  6:50               ` Sergey Senozhatsky
2018-02-26  7:46               ` Minchan Kim
2018-02-26  7:46                 ` Minchan Kim
2018-02-26  8:12                 ` Sergey Senozhatsky
2018-02-26  8:12                   ` Sergey Senozhatsky
2018-02-07  9:29 ` [PATCH 2/2] zram: drop max_zpage_size and use zs_huge_object() Sergey Senozhatsky
2018-02-07  9:29   ` Sergey Senozhatsky

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.