]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] pktcdvd: Reduce stack usage
authorPeter Osterlund <petero2@telia.com>
Tue, 14 Feb 2006 21:52:56 +0000 (13:52 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 15 Feb 2006 00:09:33 +0000 (16:09 -0800)
commit8222e893673cf4c139281ce7f72a24c892b13860
treede128d380c1aae7f826aebc645a9c29f38dff0ee
parentfd9a316c26d3708bb89c42ba55333899be421513
[PATCH] pktcdvd: Reduce stack usage

Reduce stack usage in the pkt_start_write() function.  Even though it's not
currently a real problem, the pages and offsets arrays can be eliminated,
which saves approximately 1000 bytes of stack space.

Signed-off-by: Peter Osterlund <petero2@telia.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/block/pktcdvd.c