From: Martin Mares Date: Mon, 27 Jan 2003 13:17:45 +0000 (+0000) Subject: Removed a FIXME: the page cache balancing is certainly not optimal, but it X-Git-Tag: holmes-import~1288 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=562b2b0f0eaa8baf71a1f39a507b0a0764e18b08;p=libucw.git Removed a FIXME: the page cache balancing is certainly not optimal, but it deserves more extensive changes than just tuning of contstants. --- diff --git a/lib/pagecache.c b/lib/pagecache.c index 4482b3ef..edbf6c63 100644 --- a/lib/pagecache.c +++ b/lib/pagecache.c @@ -142,7 +142,7 @@ static void flush_pages(struct page_cache *c, uns force) { uns cnt = 0; - uns max = force ? ~0U : c->free_count / 2; /* FIXME: Needs tuning */ + uns max = force ? ~0U : c->free_count / 2; uns i; struct page *p, *q, **req, **rr;