mm/page_ext: move functions around for minor cleanups to page_ext
authorKemeng Shi <shikemeng@huaweicloud.com>
Fri, 14 Jul 2023 11:47:49 +0000 (19:47 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 18 Aug 2023 17:12:31 +0000 (10:12 -0700)
commiteb0da7f6e0832a689d845ca2d62152dc6b43e780
treee7223c3337d1c9dbdffa1b48852e945b86dad1cd
parent3c09be5a2be861d7f74b0251a8e77859b4c654cc
mm/page_ext: move functions around for minor cleanups to page_ext

1. move page_ext_get and page_ext_put down to remove forward
   declaration of lookup_page_ext.

2. move page_ext_init_flatmem_late down to existing non SPARS block to
   remove a new non SPARS block and to keep code for non SPARS tight.

Link: https://lkml.kernel.org/r/20230714114749.1743032-4-shikemeng@huaweicloud.com
Signed-off-by: Kemeng Shi <shikemeng@huaweicloud.com>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/page_ext.c