linux/fs/quota
Mike Rapoport (Microsoft) 6c519166e1
quota: allocate dquot_hash with kmalloc()
dquot_init() allocates a single page for dquot_hash with
__get_free_pages().

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

Replace use of __get_free_pages() with kmalloc() and get rid of the order
variable that remained 0 for more than 20 years.

Signed-off-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
Link: https://patch.msgid.link/20260523-b4-fs-v1-1-275e36a83f0e@kernel.org
Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
2026-05-27 15:12:22 +02:00
..
compat.h quota: simplify the quotactl compat handling 2020-09-17 13:00:46 -04:00
dquot.c quota: allocate dquot_hash with kmalloc() 2026-05-27 15:12:22 +02:00
Kconfig reiserfs: The last commit 2024-10-21 16:29:38 +02:00
kqid.c
Makefile quota: simplify the quotactl compat handling 2020-09-17 13:00:46 -04:00
netlink.c
quota_tree.c quota: Detect loops in quota tree 2024-02-12 14:14:49 +01:00
quota_tree.h
quota_v1.c quota: remove unneeded return value of register_quota_format 2024-07-22 18:13:44 +02:00
quota_v2.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
quota.c \n 2026-02-12 10:57:57 -08:00
quotaio_v1.h
quotaio_v2.h