All of lore.kernel.org
 help / color / mirror / Atom feed
* - cfq-fix-ioprio_class_idle-accounting.patch removed from -mm tree
@ 2007-11-13  4:07 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2007-11-13  4:07 UTC (permalink / raw)
  To: oleg, gentuu, mm-commits


The patch titled
     cfq: fix IOPRIO_CLASS_IDLE accounting
has been removed from the -mm tree.  Its filename was
     cfq-fix-ioprio_class_idle-accounting.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
Subject: cfq: fix IOPRIO_CLASS_IDLE accounting
From: Oleg Nesterov <oleg@tv-sign.ru>

Spotted by Nick <gentuu@gmail.com>, hopefully can explain the second trace
in http://bugzilla.kernel.org/show_bug.cgi?id=9180.

If ->async_idle_cfqq != NULL cfq_put_async_queues() puts it IOPRIO_BE_NR
times in a loop.  Fix this.

Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 block/cfq-iosched.c |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff -puN block/cfq-iosched.c~cfq-fix-ioprio_class_idle-accounting block/cfq-iosched.c
--- a/block/cfq-iosched.c~cfq-fix-ioprio_class_idle-accounting
+++ a/block/cfq-iosched.c
@@ -2068,9 +2068,10 @@ static void cfq_put_async_queues(struct 
 			cfq_put_queue(cfqd->async_cfqq[0][i]);
 		if (cfqd->async_cfqq[1][i])
 			cfq_put_queue(cfqd->async_cfqq[1][i]);
-		if (cfqd->async_idle_cfqq)
-			cfq_put_queue(cfqd->async_idle_cfqq);
 	}
+
+	if (cfqd->async_idle_cfqq)
+		cfq_put_queue(cfqd->async_idle_cfqq);
 }
 
 static void cfq_exit_queue(elevator_t *e)
_

Patches currently in -mm which might be from oleg@tv-sign.ru are

origin.patch
add-task_wakekill.patch

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-11-13  4:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-13  4:07 - cfq-fix-ioprio_class_idle-accounting.patch removed from -mm tree akpm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.