Re: Puzzled at storeSwapOutAble. :-(

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 23 Apr 2002 10:10:00 +0200

maer727@sohu.com wrote:

> if (e->mem_obj->swapout.sio != NULL)
> return 1;
> if (e->mem_obj->inmem_lo > 0)
> return 0;
>
> I do not understand why should we check swapout.sio and
> inmem_lo?

If it is already being swapped out, then we can continue swapping out
out on disk..

If it is not being swapped out, and the start of the object is missing,
then we cannot swap it out on disk as we don't have all required data.

Regards
Henrik
Received on Tue Apr 23 2002 - 02:22:20 MDT

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