]> git.karo-electronics.de Git - karo-tx-linux.git/commit
zsmalloc: fixup trivial zs size classes value in comments
authorWeijie Yang <weijie.yang@samsung.com>
Thu, 22 May 2014 00:43:27 +0000 (10:43 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 22 May 2014 00:43:27 +0000 (10:43 +1000)
commit0bea83b325d0db5f37ec7847135c53502a4b0e17
treeda98a7a4fda566ab97d3b701fb95cb0563a9631e
parent4301fc633a4884bf1de818629c50723fd8e15103
zsmalloc: fixup trivial zs size classes value in comments

According to calculation, ZS_SIZE_CLASSES value is 255 on systems with 4K
page size, not 254.  The old value may forget count the ZS_MIN_ALLOC_SIZE
in.

This patch fixes this trivial issue in the comments.

Signed-off-by: Weijie Yang <weijie.yang@samsung.com>
Cc: Minchan Kim <minchan@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/zsmalloc.c