[PATCH 2/4] char: xillybus: replace __get_free_pages() with kmalloc()

Eli Billauer eli.billauer at gmail.com
Tue Sep 1 01:42:47 PDT 2026


On 31/08/2026 13:32, Mike Rapoport wrote:
> For large sizes kmalloc falls back to page allocator anyway.
> 
> And the doc is out of date unfortunately.

I think it would be a good idea to update the doc first, and by doing so 
officially change the API. After getting this change approved, it's 
indeed safe to rely on kmalloc() even for larger memory allocations.

Regards,
    Eli



More information about the linux-arm-kernel mailing list