[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20060807134841.GC10444@suse.de>
Date: Mon, 7 Aug 2006 15:48:42 +0200
From: Jens Axboe <axboe@...e.de>
To: Matthias Dahl <mlkernel@...tal-soul.de>
Cc: linux-kernel@...r.kernel.org
Subject: Re: sluggish system responsiveness under higher IO load
On Sun, Aug 06 2006, Matthias Dahl wrote:
> > I'd suggest that you generate a kernel profile while the sluggishness is
> > happening.
>
> Done...
>
> profile 1: (emerge of three huge packages which caused quite some IO)
Can you see if this makes any difference whatsoever?
diff --git a/block/ll_rw_blk.c b/block/ll_rw_blk.c
index 61d6b3c..ed6a30e 100644
--- a/block/ll_rw_blk.c
+++ b/block/ll_rw_blk.c
@@ -3422,6 +3422,7 @@ #endif /* CONFIG_HOTPLUG_CPU */
void blk_complete_request(struct request *req)
{
+#if 0
struct list_head *cpu_list;
unsigned long flags;
@@ -3434,6 +3435,14 @@ void blk_complete_request(struct request
raise_softirq_irqoff(BLOCK_SOFTIRQ);
local_irq_restore(flags);
+#else
+ unsigned long flags;
+ request_queue_t *q = req->q;
+
+ local_irq_save(flags);
+ q->softirq_done_fn(req);
+ local_irq_restore(flags);
+#endif
}
EXPORT_SYMBOL(blk_complete_request);
--
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