[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20080326111310.GC15355@kernel.dk>
Date: Wed, 26 Mar 2008 12:13:10 +0100
From: Jens Axboe <jens.axboe@...cle.com>
To: Thomas Bogendoerfer <tsbogend@...ha.franken.de>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH] CDROM: use kmalloced buffers instead of buffers on stack
On Sun, Mar 23 2008, Thomas Bogendoerfer wrote:
> 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@...ha.franken.de>
Thanks Thomas, applied.
--
Jens Axboe
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists