Messages in this thread |  | | | Date | Thu, 3 Dec 1998 22:06:23 +0100 (CET) | | From | Andrea Arcangeli <> | | Subject | Re: Linux-2.1.131.. |
| |
On Thu, 3 Dec 1998, Rik van Riel wrote:
> > if (buffer_over_borrow() || pgcache_over_borrow()) >- shrink_mmap(i, gfp_mask); >+ state = 0; > >This is a good fix as it returns behaviour back to the normal >and desired behaviour (except for too heavy cache pruning). >This patch would have been better however, since it does what >we want without too heavy cache pruning or massive swapout >frenzies.
do_try_to_free_page() starting from its name must try to free 1 page. If shrink_mmap() just freed one page we have just finished our work and in such case why to continue eventually with a not needed swap out?
Andrea Arcangeli
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
|  |