[PATCH 00/17] fs: replace __get_free_pages() call with kmalloc()
"Mike Rapoport (Microsoft)" <[email protected]> Sat, 23 May 2026 20:54:12 +0300
| Newsgroups | org.kernel.vger.linux-nilfs,dev.linux.lists.ocfs2-devel,org.kernel.vger.linux-ext4,org.kernel.vger.linux-fsdevel,org.kernel.vger.linux-kernel,org.kernel.vger.linux-nfs,org.kvack.linux-mm |
|---|---|
| Message-ID | <[email protected]> |
This is a (small) part of larger work of replacing page allocator calls with kmalloc. Also in git: https://git.kernel.org/pub/scm/linux/kernel/git/rppt/linux.git gfp-to-kmalloc/fs Signed-off-by: Mike Rapoport (Microsoft) <[email protected]> --- Mike Rapoport (Microsoft) (17): quota: allocate dquot_hash with kmalloc() proc: replace __get_free_page() with kmalloc() ocfs2/dlm: replace __get_free_page() with kmalloc() nilfs2: replace get_zeroed_page() with kzalloc() NFS: replace __get_free_page() with kmalloc() in nfs_show_devname() NFS: remove unused page and page2 in nfs4_replace_transport() NFSD: replace __get_free_page() with kmalloc() in nfsd_buffered_readdir() libfs: simple_transaction_get(): replace get_zeroed_page() with kzalloc() jfs: replace __get_free_page() with kmalloc() jbd2: replace __get_free_pages() with kmalloc() isofs: replace __get_free_page() with kmalloc() fuse: replace __get_free_page() with kmalloc() fs/select: replace __get_free_page() with kmalloc() fs/namespace: use __getname() to allocate mntpath buffer configfs: replace __get_free_pages() with kzalloc() binfmt_misc: replace __get_free_page() with kmalloc() bfs: replace get_zeroed_page() with kzalloc() fs/bfs/inode.c | 4 ++-- fs/binfmt_misc.c | 4 ++-- fs/configfs/file.c | 7 +++---- fs/fuse/ioctl.c | 5 +++-- fs/isofs/dir.c | 5 +++-- fs/jbd2/journal.c | 7 ++----- fs/jfs/jfs_dtree.c | 16 ++++++++-------- fs/libfs.c | 6 +++--- fs/namespace.c | 4 ++-- fs/nfs/nfs4namespace.c | 15 +-------------- fs/nfs/super.c | 4 ++-- fs/nfsd/vfs.c | 4 ++-- fs/nilfs2/ioctl.c | 4 ++-- fs/ocfs2/dlm/dlmdebug.c | 24 +++++++++--------------- fs/ocfs2/dlm/dlmdomain.c | 8 +++++--- fs/ocfs2/dlm/dlmmaster.c | 5 ++--- fs/ocfs2/dlm/dlmrecovery.c | 4 ++-- fs/proc/base.c | 16 ++++++++-------- fs/quota/dquot.c | 11 +++++------ fs/select.c | 4 ++-- 20 files changed, 68 insertions(+), 89 deletions(-) --- base-commit: 5d6919055dec134de3c40167a490f33c74c12581 change-id: 20260522-b4-fs-5e5c70f31664 Best regards, -- Sincerely yours, Mike.