{"push_id":2947934777,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"2325d8af93ae2f044432b903a25e702f17cedff3","before":"7ad43e7928c9a61b40332e4d5e9a7ccc33e6b65b","commits":[{"sha":"2325d8af93ae2f044432b903a25e702f17cedff3","author":{"name":"Willy Tarreau","email":"aff024fe4ab0fece4091de044c58c9ae4233383a@1wt.eu"},"message":"BUG/MINOR: threads: move declaration of capabilities to config.h\n\nIn commit f161d0f51 (\"BUG/MINOR: pools/threads: don't ignore DEBUG_UAF\non double-word CAS capable archs\") I moved some defines and accidently\nmessed up with lockfree pools. The problem is that the HA_HAVE_CAS_DW\nmacro is not defined anymore where the CONFIG_HAP_LOCKLESS_POOLS macro\nis set, so this fix implicitly disabled lockfree pools.\n\nThis patch fixes this by moving the capabilities definition to config.h\n(probably that we'd benefit from having an \"arch.h\" file to declare the\ncapabilities offered by the architecture). In a test on a 12-core machine,\nwe used to measure 19s spent in the pool lock for 1M requests without\nthis patch, and 0 with it so that's definitely a net saving.\n\nNo backport is required, this is only for 1.9.","distinct":true,"url":"https://api.github.com/repos/yuxans/haproxy/commits/2325d8af93ae2f044432b903a25e702f17cedff3"}]}
{"actor":{"display_login":"yuxans"}}