linux/fs/ext4
Eric Sandeen 4ddfef7b41 ext4: reduce mballoc stack usage with noinline_for_stack
mballoc.c is a whole lot of static functions, which gcc seems to
really like to inline.

With the changes below, on x86, I can at least get from:

432 ext4_mb_new_blocks
240 ext4_mb_free_blocks
208 ext4_mb_discard_group_preallocations
188 ext4_mb_seq_groups_show
164 ext4_mb_init_cache
152 ext4_mb_release_inode_pa
136 ext4_mb_seq_history_show
...

to

220 ext4_mb_free_blocks
188 ext4_mb_seq_groups_show
176 ext4_mb_regular_allocator
164 ext4_mb_init_cache
156 ext4_mb_new_blocks
152 ext4_mb_release_inode_pa
136 ext4_mb_seq_history_show
124 ext4_mb_release_group_pa
...

which still has some big functions in there, but not 432 bytes!

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Mingming Cao <cmm@us.ibm.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-04-29 08:11:12 -04:00
..
acl.c
acl.h
balloc.c
bitmap.c
dir.c Convert ext4 to use unlocked_ioctl 2008-04-29 22:03:54 -04:00
ext4_jbd2.c
extents.c ext4: Cache the correct extent length for uninit extents 2008-04-29 22:03:59 -04:00
file.c Convert ext4 to use unlocked_ioctl 2008-04-29 22:03:54 -04:00
fsync.c ext4: fdatasync should skip metadata writeout when overwriting 2008-04-17 10:38:59 -04:00
group.h
hash.c
ialloc.c ext4: Enable extent format for symlinks. 2008-04-29 08:11:12 -04:00
inode.c ext4: Fix race between migration and mmap write 2008-04-29 08:11:12 -04:00
ioctl.c Convert ext4 to use unlocked_ioctl 2008-04-29 22:03:54 -04:00
Makefile
mballoc.c ext4: reduce mballoc stack usage with noinline_for_stack 2008-04-29 08:11:12 -04:00
migrate.c ext4: Fix race between migration and mmap write 2008-04-29 08:11:12 -04:00
namei.c ext4: Enable extent format for symlinks. 2008-04-29 08:11:12 -04:00
namei.h
resize.c
super.c ext4: fix mount option parsing 2008-04-29 22:05:28 -04:00
symlink.c
xattr_security.c
xattr_trusted.c
xattr_user.c
xattr.c
xattr.h