diff options
author | Minchan Kim <minchan@kernel.org> | 2015-09-08 15:04:49 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-09-08 15:35:28 -0700 |
commit | 6cbf16b3b66a61b9c6df8f2ed4ac346cb427f28a (patch) | |
tree | 51eb943fa8a3dbaa304226ae57c3275514d0ec06 /include | |
parent | ad9d5e175a77a253f52a7259a7c918b8351d99f1 (diff) | |
download | linux-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