diff options
| author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2026-05-28 20:14:11 +0300 |
|---|---|---|
| committer | Theodore Ts'o <tytso@mit.edu> | 2026-06-10 17:42:55 +0300 |
| commit | bbe9015f23432bd4f5b8590eb178b3b5b7c29f02 (patch) | |
| tree | 74cc8d22acb74efc470760d1803eb2000d8fe712 /include/linux | |
| parent | 4e3a55f44b42c2aabd4c1cc3bdb6a01a7107121d (diff) | |
| download | linux-bbe9015f23432bd4f5b8590eb178b3b5b7c29f02.tar.xz | |
jbd2: remove special jbd2 slabs
When jbd2 was originally written, kmalloc() would not guarantee memory
alignment for the requested objects. Since commit 59bb47985c1d in 2019,
kmalloc has guaranteed natural alignment for power-of-two allocations.
We can now remove the jbd2 special slabs and just use kmalloc() directly.
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Jan Kara <jack@suse.cz>
Acked-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
Acked-by: Vlastimil Babka (SUSE) <vbabka@kernel.org>
Reviewed-by: Tal Zussman <tz2294@columbia.edu>
Link: https://patch.msgid.link/20260528171413.1088143-1-willy@infradead.org
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/jbd2.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/jbd2.h b/include/linux/jbd2.h index 7e785aa6d35d..b68561187e90 100644 --- a/include/linux/jbd2.h +++ b/include/linux/jbd2.h @@ -63,9 +63,6 @@ void __jbd2_debug(int level, const char *file, const char *func, #define jbd2_debug(n, fmt, a...) no_printk(fmt, ##a) #endif -extern void *jbd2_alloc(size_t size, gfp_t flags); -extern void jbd2_free(void *ptr, size_t size); - #define JBD2_MIN_JOURNAL_BLOCKS 1024 #define JBD2_DEFAULT_FAST_COMMIT_BLOCKS 256 |
