lkml.org 
[lkml]   [2005]   [Jan]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
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
Whoops! Forgot to include the patch.

Sorry.

Timothy Charles McGrathdiff -ur linux-2.6.10-orig/drivers/ide/ide-cd.c linux-2.6.10/drivers/ide/ide-cd.c
--- linux-2.6.10-orig/drivers/ide/ide-cd.c 2004-12-24 16:34:33.000000000 -0500
+++ linux-2.6.10/drivers/ide/ide-cd.c 2005-01-07 07:49:43.000000000 -0500
@@ -3151,7 +3151,7 @@
int nslots;

blk_queue_prep_rq(drive->queue, ide_cdrom_prep_fn);
- blk_queue_dma_alignment(drive->queue, 31);
+ blk_queue_dma_alignment(drive->queue, 3);
drive->queue->unplug_delay = (1 * HZ) / 1000;
if (!drive->queue->unplug_delay)
drive->queue->unplug_delay = 1;
Only in linux-2.6.10/drivers/ide: ide-cd.c~
\
 
 \ /
  Last update: 2005-03-22 14:09    [W:0.054 / U:2.704 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site