summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorMike Rapoport (Microsoft) <rppt@kernel.org>2026-05-23 20:54:22 +0300
committerChristian Brauner <brauner@kernel.org>2026-05-27 16:12:24 +0300
commit2f6702dc6fdcf0ccc85417140e9ee1ce6a64863c (patch)
treeb84e59ed478baefe7b965cd1257979e0b1e6f66c /include/linux
parentde9f4f0b2c0f31c3a9483dedd0e9bb7dcb409a13 (diff)
downloadlinux-2f6702dc6fdcf0ccc85417140e9ee1ce6a64863c.tar.xz
jbd2: replace __get_free_pages() with kmalloc()
jbd2_alloc() falls back from kmem_cache_alloc() to __get_free_pages() for allocations larger than PAGE_SIZE. But kmalloc() can handle such cases with essentially the same fallback. Replace use of __get_free_pages() with kmalloc() and simplify jbd2_free() as both kmem_cache_alloc() and kmalloc() allocations can be freed with kfree(). Signed-off-by: Mike Rapoport (Microsoft) <rppt@kernel.org> Link: https://patch.msgid.link/20260523-b4-fs-v1-10-275e36a83f0e@kernel.org Reviewed-by: Jan Kara <jack@suse.cz> Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions