[prev in list] [next in list] [prev in thread] [next in thread] 

List:       varnish-dev
Subject:    [PATCH] fileread for the std VMOD
From:       sanjoy () playingwithpointers ! com (Sanjoy Das)
Date:       2010-11-30 6:35:38
Message-ID: 1291098218.2374.10.camel () DivineComedy
[Download RAW message or body]

Hi!

Attached patches make fileread's loaded-file cache a global list. I'm currently \
working on implementing (preferably lockless) reference counting (and then I'll have \
the call-private pointer point to a node in the global list; with proper cleanup).

What do I use for a CAS? I've been using __sync_val_compare_and_swap; but that's GCC \
                specific.
-- 
Regards,

Sanjoy Das
http://playingwithpointers.com
http://playingwithpointers.com/custom/public_key.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: global-lists.patch
Type: text/x-patch
Size: 5358 bytes
Desc: not available
URL: <http://lists.varnish-cache.org/pipermail/varnish-dev/attachments/20101130/51eedcb2/attachment.bin>
                
-------------- next part --------------
A non-text attachment was scrubbed...
Name: structuring.patch
Type: text/x-patch
Size: 4892 bytes
Desc: not available
URL: <http://lists.varnish-cache.org/pipermail/varnish-dev/attachments/20101130/51eedcb2/attachment-0001.bin>
                
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.varnish-cache.org/pipermail/varnish-dev/attachments/20101130/51eedcb2/attachment.pgp>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic