Files
linux_media/include/linux
Pasha Tatashin 7ec7096b85 mm/page_ext: init page_ext early if there are no deferred struct pages
page_ext must be initialized after all struct pages are initialized. 
Therefore, page_ext is initialized after page_alloc_init_late(), and can
optionally be initialized earlier via early_page_ext kernel parameter
which as a side effect also disables deferred struct pages.

Allow to automatically init page_ext early when there are no deferred
struct pages in order to be able to use page_ext during kernel boot and
track for example page allocations early.

[pasha.tatashin@soleen.com: fix build with CONFIG_PAGE_EXTENSION=n]
  Link: https://lkml.kernel.org/r/20230118155251.2522985-1-pasha.tatashin@soleen.com
Link: https://lkml.kernel.org/r/20230117204617.1553748-1-pasha.tatashin@soleen.com
Signed-off-by: Pasha Tatashin <pasha.tatashin@soleen.com>
Acked-by: Mike Rapoport (IBM) <rppt@kernel.org>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
Cc: Charan Teja Kalla <quic_charante@quicinc.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Li Zhe <lizhe.67@bytedance.com>
Cc: Michal Hocko <mhocko@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2023-02-02 22:33:22 -08:00
..
2022-10-27 13:23:43 +02:00
2022-11-04 12:59:25 +02:00
2022-12-11 21:25:58 +01:00
2023-01-04 14:43:27 -07:00
2022-12-07 09:43:12 -07:00
2022-12-08 18:25:31 -08:00
2022-12-02 18:12:40 +08:00
2022-11-18 09:14:10 +01:00
2022-12-11 18:12:17 -08:00
2022-10-20 10:13:30 +02:00
2023-01-18 17:12:57 -08:00
2023-02-02 22:33:13 -08:00
2022-10-24 12:30:26 +03:00
2022-11-11 18:18:05 -08:00
2022-11-29 09:09:17 +11:00
2022-11-15 00:42:02 -08:00
2022-12-11 19:30:20 -08:00
2022-11-09 19:28:49 -08:00
2023-01-18 17:12:57 -08:00
2022-10-16 17:58:54 -05:00
2023-01-04 14:44:13 -07:00
2022-10-20 10:13:30 +02:00
2022-12-20 03:13:45 +01:00
2022-10-23 18:06:54 -04:00
2022-10-21 10:11:00 -07:00
2022-12-09 19:47:41 -08:00
2022-11-29 15:00:06 -08:00
2023-01-18 17:12:47 -08:00
2022-12-10 13:36:05 -05:00
2022-10-24 12:12:32 -07:00