]> mj.ucw.cz Git - libucw.git/commitdiff
Removed a FIXME: the page cache balancing is certainly not optimal, but it
authorMartin Mares <mj@ucw.cz>
Mon, 27 Jan 2003 13:17:45 +0000 (13:17 +0000)
committerMartin Mares <mj@ucw.cz>
Mon, 27 Jan 2003 13:17:45 +0000 (13:17 +0000)
deserves more extensive changes than just tuning of contstants.

lib/pagecache.c

index 4482b3ef5bb51119f90aa72ce5a1706fe4245338..edbf6c631ba6cf8ec35f3d52e1803ef709d280e1 100644 (file)
@@ -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;