aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMiaohe Lin <linmiaohe@huawei.com>2021-02-25 17:18:34 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2021-02-26 09:41:01 -0800
commita6c5e0f75b3f7b8ace146f4eaa6398774d39a640 (patch)
tree04fe81fee072a95ffa8eee40144a6c0e25de4fe4 /include
parentzsmalloc: account the number of compacted pages correctly (diff)
downloadlinux-dev-a6c5e0f75b3f7b8ace146f4eaa6398774d39a640.tar.xz
linux-dev-a6c5e0f75b3f7b8ace146f4eaa6398774d39a640.zip
mm/zsmalloc.c: use page_private() to access page->private
It's recommended to use helper macro page_private() to access the private field of page. Use such helper to eliminate direct access. Link: https://lkml.kernel.org/r/20210203091857.20017-1-linmiaohe@huawei.com Signed-off-by: Miaohe Lin <linmiaohe@huawei.com> Cc: Minchan Kim <minchan@kernel.org> Cc: Nitin Gupta <ngupta@vflare.org> 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