diff options
author | Ganesh Mahendran <opensource.ganesh@gmail.com> | 2016-07-28 15:47:49 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-07-28 16:07:41 -0700 |
commit | b4fd07a0864a06d7a8b20a624d851736330d6fd8 (patch) | |
tree | 9f14c7f02483f2a6e9aa2c24beb0649e1f320d66 /mm/debug_page_ref.c | |
parent | cf675acb743f045b7482384be60987e69260e43d (diff) | |
download | lwn-b4fd07a0864a06d7a8b20a624d851736330d6fd8.tar.gz lwn-b4fd07a0864a06d7a8b20a624d851736330d6fd8.zip |
mm/zsmalloc: use class->objs_per_zspage to get num of max objects
num of max objects in zspage is stored in each size_class now. So there
is no need to re-calculate it.
Link: http://lkml.kernel.org/r/1467882338-4300-3-git-send-email-opensource.ganesh@gmail.com
Signed-off-by: Ganesh Mahendran <opensource.ganesh@gmail.com>
Acked-by: Minchan Kim <minchan@kernel.org>
Reviewed-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/debug_page_ref.c')
0 files changed, 0 insertions, 0 deletions