mm/page_ext: use page_ext_data helper in page_owner
authorKemeng Shi <shikemeng@huaweicloud.com>
Tue, 18 Jul 2023 14:58:12 +0000 (22:58 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 21 Aug 2023 20:37:27 +0000 (13:37 -0700)
commit1cac4c0760ecd0c33b11b7b5c609264ea6bed5ed
tree00c1e27f5a0775fac6724d86a35d3f545033bb29
parentd981e2804c92b505e76f44e66909f3ae805d3aa2
mm/page_ext: use page_ext_data helper in page_owner

Use page_ext_data helper in page_owner to avoid access offset directly.

Link: https://lkml.kernel.org/r/20230718145812.1991717-4-shikemeng@huaweicloud.com
Signed-off-by: Kemeng Shi <shikemeng@huaweicloud.com>
Reviewed-by: Andrew Morton <akpm@linux-foudation.org>
Acked-by: Mike Rapoport (IBM) <rppt@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/page_owner.c