lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ