diff options
author | Marcin Slusarz <marcin.slusarz@gmail.com> | 2008-11-16 19:06:37 +0100 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2008-12-29 08:28:43 +0100 |
commit | d194139c18edb7dae45e159a24f2aa72091033b8 (patch) | |
tree | 98dab9ca446fceca1f519924fd392fbeb5e2eb14 /crypto/eseqiv.c | |
parent | cdrom: split mmc_ioctl to lower stack usage (diff) | |
download | linux-d194139c18edb7dae45e159a24f2aa72091033b8.tar.xz linux-d194139c18edb7dae45e159a24f2aa72091033b8.zip |
cdrom: reduce stack usage of mmc_ioctl_dvd_read_struct
1. kmalloc 192 bytes in dvd_read_bca (which is inlined into dvd_read_struct)
2. Pass struct packet_command to all dvd_read_* functions.
Checkstack output:
Before: mmc_ioctl_dvd_read_struct: 280
After: mmc_ioctl_dvd_read_struct: 56
Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Cc: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Jens Axboe <jens.axboe@oracle.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'crypto/eseqiv.c')
0 files changed, 0 insertions, 0 deletions