summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorGanesh Mahendran <opensource.ganesh@gmail.com>2016-07-29 00:47:49 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2016-07-29 01:07:41 +0200
commitb4fd07a0864a06d7a8b20a624d851736330d6fd8 (patch)
tree9f14c7f02483f2a6e9aa2c24beb0649e1f320d66 /block
parentmm/zsmalloc: take obj index back from find_alloced_obj (diff)
downloadlinux-b4fd07a0864a06d7a8b20a624d851736330d6fd8.tar.xz
linux-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 'block')
0 files changed, 0 insertions, 0 deletions