[zeromq-dev] [PATCH] ypipe cache line alignment

Jon Dyte jon at totient.co.uk
Thu Apr 28 00:43:34 CEST 2011


Hi

Following a suggestion on irc a couple of weeks ago by Martin Pales 
here's a small patch for review which
should move the ypipe and the member fields where necessary onto 
separate cache lines to eliminate
sharing in the case where the member fields are exclusively used only by 
one thread.

This patch only takes effect on Linux i386 and x86/64 with gcc as it 
uses gcc specific alignment attributes.


Jon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-force-the-ypipe-class-and-various-member-fields-whic.patch
Type: text/x-patch
Size: 2109 bytes
Desc: not available
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20110427/4286dd85/attachment.bin>


More information about the zeromq-dev mailing list