diff options
author | Linus Torvalds <[email protected]> | 2008-08-27 01:14:46 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2008-08-27 13:56:27 -0700 |
commit | 16ecf85a5ca7345efbcbb2de76607db0f7ec9049 (patch) | |
tree | 4eec83917e3ece632339c470c0bb2b8f116c0b70 /fs/jbd2/commit.c | |
parent | 0559bc8e9bf8cb6063b9bc7206fbc28982491a5d (diff) |
e1000: fix stack size
Here's the patch. It shrinks the stack from 1152 bytes to 192 bytes (the
first version, that only did the e1000_option part, got it down to 600
bytes). About half comes from not using multiple "e1000_option"
structures, the other half comes from turning the "e1000_opt_list[]"
arrays into "static const" instead, so that gcc doesn't copy them onto the
stack.
Signed-off-by: Linus Torvalds <[email protected]>
Reveiewed-by: Auke Kok <[email protected]>
Tested-by: Emil Tantilov <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions