This micro patch removes redundant waitqueue_active() from
__alloc_pages()
It is not too much of a speedup, but still...
Petko
--- linux-2.4.12/mm/page_alloc.c.orig Mon Oct 15 15:52:39 2001
+++ linux/mm/page_alloc.c Mon Oct 15 15:53:45 2001
@@ -335,8 +335,7 @@
classzone->need_balance = 1;
mb();
- if (waitqueue_active(&kswapd_wait))
- wake_up_interruptible(&kswapd_wait);
+ wake_up_interruptible(&kswapd_wait);
zone = zonelist->zones;
for (;;) {
-
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/
This archive was generated by hypermail 2b29 : Mon Oct 15 2001 - 21:00:59 EST