diff options
| author | Mike Rapoport (Microsoft) <rppt@kernel.org> | 2026-05-23 20:54:13 +0300 |
|---|---|---|
| committer | Jan Kara <jack@suse.cz> | 2026-05-25 18:09:40 +0200 |
| commit | 6d06b04c2b8dc0e02920336c9eb4312585fb1492 (patch) | |
| tree | fee72869225ba8fbbf80cc1018f8389a6ec20a08 /include/linux/timerqueue.h | |
| parent | 5f0419457f89dce1a3f1c8e62a3adf2f39ab8168 (diff) | |
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: Jan Kara <jack@suse.cz>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
