Re: The IBM order relaxation patch

Rik van Riel (riel@conectiva.com.br)
Thu, 7 Feb 2002 10:42:22 -0200 (BRST)


On Thu, 7 Feb 2002, David S. Miller wrote:
> From: Rik van Riel <riel@conectiva.com.br>
> Date: Thu, 7 Feb 2002 10:16:22 -0200 (BRST)
>
> The only problem is that it doesn't. It won't try to free
> pages once you have enough free pages, which means you'll
> just end up in a livelock.
>
> It always calls balance_classzone which always calls try_to_free_pages
> which always will try to free SWAP_CLUSTER_MAX pages.

Duh, indeed. It seems Linus' free_plenty() checks were
removed somewhere along the way.

Rik

-- 
"Linux holds advantages over the single-vendor commercial OS"
    -- Microsoft's "Competing with Linux" document

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

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