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
..
2008-04-29 08:06:02 -07:00
2008-04-29 08:06:26 -07:00
2008-02-08 09:22:40 -08:00
2008-04-29 08:06:18 -07:00
2008-04-29 08:06:04 -07:00
2008-02-14 21:13:33 -08:00
2008-03-04 14:47:06 -08:00
2008-02-08 09:22:40 -08:00
2008-04-29 08:06:28 -07:00
2008-04-29 08:06:00 -07:00
2008-04-28 08:58:18 -07:00
2008-04-29 08:06:01 -07:00
2008-02-08 09:22:40 -08:00
2008-03-19 06:42:18 -04:00
2008-04-29 08:06:18 -07:00
2008-04-29 08:06:00 -07:00
2008-03-30 14:18:41 -07:00
2008-04-28 08:58:46 -07:00
2008-04-28 08:58:45 -07:00
2008-04-28 08:58:47 -07:00
2008-04-29 08:06:29 -07:00
2008-04-29 08:06:17 -07:00
2008-01-30 13:31:46 +01:00
2008-04-29 08:05:59 -07:00
2008-04-29 08:06:17 -07:00
2008-04-25 09:24:05 -04:00
2008-04-29 08:06:06 -07:00
2008-02-06 10:41:07 -08:00
2008-04-29 08:06:00 -07:00
2008-04-29 08:06:01 -07:00
2008-01-30 13:31:46 +01:00
2008-04-29 08:06:09 -07:00
2008-02-14 21:13:33 -08:00
2008-04-21 22:15:06 +00:00
2008-04-29 09:48:15 +02:00
2008-02-14 21:13:33 -08:00
2008-04-29 08:06:00 -07:00