Re: low memory buffer cachebug fix, need some testers...

Bill Hawes (whawes@star.net)
Mon, 09 Jun 1997 23:05:51 -0400


David S. Miller wrote:
> The only remaining issue is how try_to_free_page() does not try hard
> enough, this is what causes gcc to die with a signal.

Another issue that might be affecting the ability to free up pages is
that the current read-ahead algorithm doesn't seem to be sensitive to
the system memory levels. Reading a file will cause the read-ahead to
vacuum up any free pages, and even though they're only loosely bound as
inode cache, it may take a couple of sweeps of shrink_mmap to free them
again.

Has anyone experimented with shutting off read-ahead when the available
memory drops below some threshold?

-Bill