Messages in this thread Patch in this message |  | | Date | Mon, 15 Oct 2001 16:27:54 -0700 | From | Petko Manolov <> | Subject | [patch] page_alloc.c |
| |
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 (;;) { |  |