]> git.baikalelectronics.ru Git - kernel.git/commit
pktcdvd: reduce stack consumption
authorPeter Osterlund <petero2@telia.com>
Tue, 4 Mar 2008 22:28:41 +0000 (14:28 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 5 Mar 2008 00:35:12 +0000 (16:35 -0800)
commitb28c083214f6e777f56a266504d5ddc8c097b071
tree79b8e9b0eef38b93b68b57d54dc9fb44a36cebd6
parent093fca9474639b088a8f65162b6ad42ccafb1e6f
pktcdvd: reduce stack consumption

On my system, pkt_open() consumes 584 bytes because the compiler decides to
inline lots of functions that would not normally be part of long call chains.
The following patch fixes that problem on my system.

Signed-off-by: Peter Osterlund <petero2@telia.com>
Cc: Nix <nix@esperi.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/block/pktcdvd.c