diff options
author | Weijie Yang <weijie.yang@samsung.com> | 2016-01-15 00:22:40 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-01-15 20:40:52 +0100 |
commit | 7dfa4612204b511c934ca2a0e4f306f9981bd9aa (patch) | |
tree | 3d4b783ff5c0acc5c98f03d7c0364e83497d44b6 /mm/shmem.c | |
parent | mm/zbud.c: use list_last_entry() instead of list_tail_entry() (diff) | |
download | linux-7dfa4612204b511c934ca2a0e4f306f9981bd9aa.tar.xz linux-7dfa4612204b511c934ca2a0e4f306f9981bd9aa.zip |
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>
Diffstat (limited to 'mm/shmem.c')
0 files changed, 0 insertions, 0 deletions