Re: 2.1.98 also corrosive

Andrea Arcangeli (arcangeli@mbox.queen.it)
Sun, 26 Apr 1998 11:16:01 +0200 (CEST)


Bill reported that this patch helps in system with tiny memory:

--- linux/mm/vmscan.c 1998/04/25 14:01:24 1.1
+++ linux/mm/vmscan.c 1998/04/25 14:03:17
@@ -580,6 +580,7 @@
run_task_queue(&tq_disk);

}
+ check_dcache_memory();
}
/* As if we could ever get here - maybe we want to make this killable */
remove_wait_queue(&kswapd_wait, &wait);

I think that kswapd must have some way to free the unused cache directly.
I don' t know if this is the right thing to do though.

Andrea[s] Arcangeli

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu