Re:Re: Puzzled at storeSwapOutAble. :-(

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

sio is short for swapIoState, e->mem_obj->swapout.sio is the swapIoState for
swapping out the object to disk.

inmem_lo indicates the lowest offset of the object currently in memory. If
other than 0 then the head of the object has been purged from memory.

Regards
Henrik

maer727@sohu.com wrote:
> Thanks, Henrik pal!
>
> What is the variable e->mem_obj->swapout.sio stands for? I think
> it must be start of something. But the meaning and function of the
> variable really puzzled me. Can you give me a simple explanation?
>
> Another question, I think e->mem_obj->inmem_lo indicates the start
> buffer address of the object in memory. How can you infer when
> e->mem_obj->inmem_lo>0 that the start of the object is always missing?
> What you mean "missing" here? Cache missing?
> Can you give me a simple explabation?
>
> Best regards,
> George Ma
>
>
> ----- Original Message -----
> From: Henrik Nordstrom
> To: maer727@sohu.com
> Cc: squid-dev@squid-cache.org
> Subject: Re: Puzzled at storeSwapOutAble. :-(
> Sent: Tue Apr 23 16:10:00 CST 2002
>
> > 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
Received on Tue Apr 23 2002 - 04:00:52 MDT

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