]> git.hungrycats.org Git - linux/commit
[PATCH] ext3: create a slab cache for transaction handles
authorAndrew Morton <akpm@digeo.com>
Thu, 3 Apr 2003 00:29:36 +0000 (16:29 -0800)
committerLinus Torvalds <torvalds@home.transmeta.com>
Thu, 3 Apr 2003 00:29:36 +0000 (16:29 -0800)
commitc20fb5f15e9097986aab97812bf55679dc24c4d9
treefa10c313d3b3f2539ff6aef4389f5bc334842b94
parent9aabee2eceb680f72157bcd6b65a6fd572e697df
[PATCH] ext3: create a slab cache for transaction handles

ext3 allocates and frees at least one handle structure for each system call.
kmalloc and kfree are apparent in the profiles.

Adding a slab cache for these objects takes the overhead for a write() from
1.63 microseconds down to 1.56.
fs/jbd/journal.c
fs/jbd/transaction.c
include/linux/jbd.h