Messages in this thread | | | Date | Mon, 7 Dec 1998 17:08:46 GMT | From | "Stephen C. Tweedie" <> | Subject | Re: [PATCH] VM improvements for 2.1.131 |
| |
Hi,
On 05 Dec 1998 20:10:01 -0600, ebiederm+eric@ccr.net (Eric W. Biederman) said:
>>>>>> "RR" == Rik van Riel <H.H.vanRiel@phys.uu.nl> writes: > RR /* Don't allow too many pending pages in flight.. */ > RR- if (atomic_read(&nr_async_pages) > SWAP_CLUSTER_MAX) > RR+ if (atomic_read(&nr_async_pages) > pager_daemon.swap_cluster) > RR wait = 1;
> How will this possibly work if we are using a swapfile > and we always swap synchronously?
It doesn't make any difference: these lines just put an upper limit on the amount of asynchronous swapping we can have at any point in time. If all of our swapping is already synchronous, then the upper limit has no effect.
--Stephen
- 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/
| |