linux/fs/binfmt_misc.c
Mike Rapoport (Microsoft) 6ff17653e9 binfmt_misc: replace __get_free_page() with kmalloc()
bm_entry_read() allocates temporary buffer using __get_free_page().

kmalloc() is a better API for such use and it also provides better
scalability and more debugging possibilities.

Replace use of __get_free_page() with kmalloc().

Signed-off-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
Link: https://patch.msgid.link/20260523-b4-fs-v1-16-275e36a83f0e@kernel.org
Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
2026-05-28 13:58:14 +02:00

1047 lines
25 KiB