On Thu, 19 Oct 2023 21:22:07 +0800 Yunsheng Lin wrote: > > Sounds good. Warning wrapped in #if CONFIG_DEBUG_NET perhaps? > > How about something like __get_free_pages() does with gfp flags? > https://elixir.free-electrons.com/linux/v6.4-rc6/source/mm/page_alloc.c#L4818 Fine by me!