--- 2.2.15pre4/mm/page_alloc.c.~1~ Tue Jan 25 15:40:06 2000 +++ 2.2.15pre4/mm/page_alloc.c Thu Jan 27 09:51:35 2000 @@ -236,16 +236,6 @@ RMQUEUE_TYPE(order, 1); spin_unlock_irqrestore(&page_alloc_lock, flags); - /* - * If we can schedule, do so, and make sure to yield. - * We may be a real-time process, and if kswapd is - * waiting for us we need to allow it to run a bit. - */ - if (gfp_mask & __GFP_WAIT) { - current->policy |= SCHED_YIELD; - schedule(); - } - nopage: return 0; }