Re: Deferring starting swapping out

From: Adrian Chadd <adrian@dont-contact.us>
Date: Fri, 2 Jun 2000 22:28:44 +0800

On Tue, May 30, 2000, Duane Wessels wrote:
> This seems redundant:
>
> store_swapout.c:131
>
> /*
> * Grab the swapout_size and check to see whether we're going to defer
> * the swapout based upon size
> */
> swapout_size = (ssize_t) (mem->inmem_hi - mem->swapout.queue_offset);
> if ((e->store_status != STORE_OK) && (swapout_size < store_maxobjsize)) {
> debug(20, 5) ("storeSwapOut: Deferring starting swapping out\n");
> return;
> }
>
>
> store_swapout.c:196
>
> /*
> * Don't start swapping out until its either all in memory, or bigger
> * than the maximum object size (so we pick a -1 maxobjsize fs)
> */
> if ((e->store_status != STORE_OK) && (swapout_size < store_maxobjsize)) {
> debug(20, 5) ("storeSwapOut: Deferring starting swapping out\n");
> return;
> }

Hrm. THat smells like a merge problem but I don't seem to recall spotting
it. Feel free to rip it out at your lesiure.

Adrian

-- 
Adrian Chadd			Build a man a fire, and he's warm for the
<adrian@creative.net.au>	rest of the evening. Set a man on fire and
				he's warm for the rest of his life.
Received on Fri Jun 02 2000 - 08:28:51 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:12:28 MST