Re: [PATCH] allocation looping + kswapd CPU cycles

Rik van Riel (riel@conectiva.com.br)
Sat, 12 May 2001 11:56:20 -0300 (BRST)


On Tue, 8 May 2001, David S. Miller wrote:

> So instead, you could test for the condition that prevents any
> possible forward progress, no?

if (!order || free_shortage() > 0)
goto try_again;

(which was the experimental patch I discussed with Marcelo)

regards,

Rik

--
Virtual memory is like a game you can't win;
However, without VM there's truly nothing to lose...

http://www.surriel.com/ http://distro.conectiva.com/

Send all your spam to aardvark@nl.linux.org (spam digging piggy)

- 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/