lkml.org 
[lkml]   [2005]   [Jan]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: PROBLEM: ide-cd in 2.6.8-2.6.10 and 2.4.26-2.4.28 high cpu use with dma
On Sun, Jan 09 2005, Alan Cox wrote:
> On Sul, 2005-01-09 at 12:30, Hikaru1@verizon.net wrote:
> > A minor mistake. I forgot to state explicitly that the problem only appears
> > with writing audio cds. Writing data cds does not cause problems.
>
> It sets the required alignment of buffers for DMA. The 2.6.10 code is
> correct, the question is who is feeding unaligned buffers to the driver
> layer - the kernel or the SG layer. Which burning interface are you
> using - /dev/sg (ie dev=1,0,0) or /dev/hd* (dev=/dev/hdc etc)

Look at the check, it's also doing length check. And for cdda burning,
you are never going to have 32-byte alignment, hence it false back to
pio.

--
Jens Axboe

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:09    [W:0.077 / U:0.476 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site