diff options
| author | Minchan Kim <minchan@kernel.org> | 2016-07-26 15:23:11 -0700 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-09-25 21:05:11 +0200 |
| commit | 130cd1339b41049074fd913e8965170eb7d93da0 (patch) | |
| tree | bdc6d5995d2725a255e77b544c57044ab3589011 /kernel | |
| parent | 0a53399fb4525e41469d47f3c5f13de02a403816 (diff) | |
zsmalloc: keep max_object in size_class
Every zspage in a size_class has same number of max objects so we could
move it to a size_class.
Link: http://lkml.kernel.org/r/1464736881-24886-5-git-send-email-minchan@kernel.org
Signed-off-by: Minchan Kim <minchan@kernel.org>
Reviewed-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions
