aboutsummaryrefslogtreecommitdiffstats
path: root/Kbuild
diff options
context:
space:
mode:
authorThomas Bogendoerfer <tsbogend@alpha.franken.de>2008-03-26 12:09:38 +0100
committerJens Axboe <jens.axboe@oracle.com>2008-04-21 09:50:08 +0200
commit22a9189fd073db3d03a4cf8b8c098aa207602de1 (patch)
treefdecb985720f2ca9c283d4b0f35f87e4b477e9e8 /Kbuild
parentcdrom: make unregister_cdrom() return void (diff)
downloadlinux-dev-22a9189fd073db3d03a4cf8b8c098aa207602de1.tar.xz
linux-dev-22a9189fd073db3d03a4cf8b8c098aa207602de1.zip
cdrom: use kmalloced buffers instead of buffers on stack
If cdrom commands are issued to a scsi drive in most cases the buffer will be filled via dma. This leads to bad stack corruption on non coherent platforms, because the buffers are neither cache line aligned nor is the size a multiple of the cache line size. Using kmalloced buffers avoids this. Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions