]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
zsmalloc: reorganize struct size_class to pack 4 bytes hole
authorWeijie Yang <weijie.yang@samsung.com>
Thu, 14 Jan 2016 23:22:40 +0000 (15:22 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 15 Jan 2016 19:40:52 +0000 (11:40 -0800)
commit7dfa4612204b511c934ca2a0e4f306f9981bd9aa
tree3d4b783ff5c0acc5c98f03d7c0364e83497d44b6
parentf58fb5e7f0ab05c9083869c1ec27854af2afc7b7
zsmalloc: reorganize struct size_class to pack 4 bytes hole

Reoder the pages_per_zspage field in struct size_class which can
eliminate the 4 bytes hole between it and stats field.

Signed-off-by: Weijie Yang <weijie.yang@samsung.com>
Reviewed-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Cc: Minchan Kim <minchan@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/zsmalloc.c