Re: Puzzled at storeGetMemSpace. :-(

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

storeGetMemSpace does not allocate anything, only makes sure there is
sufficient amount of free memory in the memory cache (see cache_mem in
squid.conf)

maer727@sohu.com wrote:
>
> Hi, pals!
>
> storeGetMemSpace is called with only one parameter (the length
> of the memory buffer). But what is the begin and end address of
> the buffer?
>
> I take a look at storeGetMemSpace and still puzzled.
>
> IMHO, I think the memory space of the object are
> continuous. And use a global pointer to allocate memory space.
> Am I correct?
>
> Can you give me a simple explanation about how storeGetMemSpace
> is working?
>
> Best regards,
> George Ma
Received on Tue Apr 23 2002 - 02:04:34 MDT

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