summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMinchan Kim <minchan@kernel.org>2015-09-08 15:04:49 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2015-09-08 15:35:28 -0700
commit6cbf16b3b66a61b9c6df8f2ed4ac346cb427f28a (patch)
tree51eb943fa8a3dbaa304226ae57c3275514d0ec06 /include
parentad9d5e175a77a253f52a7259a7c918b8351d99f1 (diff)
downloadlinux-6cbf16b3b66a61b9c6df8f2ed4ac346cb427f28a.tar.bz2
zsmalloc: use class->pages_per_zspage
There is no need to recalcurate pages_per_zspage in runtime. Just use class->pages_per_zspage to avoid unnecessary runtime overhead. Signed-off-by: Minchan Kim <minchan@kernel.org> Acked-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 'include')
0 files changed, 0 insertions, 0 deletions