Re: [patch] my latest oom stuff

Andrea Arcangeli (andrea@e-mind.com)
Mon, 26 Oct 1998 00:58:13 +0100 (CET)


On Sun, 25 Oct 1998, Linus Torvalds wrote:

>Actually, I'd prefer a _stupider_ approach, which would be to get rid of
>"tries" altogether, and instead do:

I prefer a stupider approach too.

> unsigned long start = jiffies;
>
> do {
> .. swapout ..
> } while (jiffies == start);

Hmm yes.

>Could you try the above simple approach?

Sure.

>I really think that being simple should work. Anything complex I wouldn't
>ever trust in all circumstances.

Agreed.

Andrea Arcangeli

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/