diff options
| author | Mike Rapoport (Microsoft) <rppt@kernel.org> | 2026-05-23 20:54:13 +0300 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2026-05-27 16:12:22 +0300 |
| commit | 6c519166e10ec5c72944ba3560fad12f8b8c78fd (patch) | |
| tree | 58262e7c18b4e45b781c3cb9e6ac27cbe8851d77 /include/linux/debugobjects.h | |
| parent | 99489cd82cae65a057be662eff7bc4f3af6b0498 (diff) | |
| download | linux-6c519166e10ec5c72944ba3560fad12f8b8c78fd.tar.xz | |
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>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
