ref: ebeaa7e1391036ad3869935558497f1cde049499
parent: 38d7beb51498c1fe78acf1bdc810fa563603b6e1
author: Ori Bernstein <[email protected]>
date: Sat Oct 22 18:33:36 EDT 2022
blk: revert stray '*7' a misguided attempt at spreading load across more arenas, but it doesn't matter and doesn't work.
--- a/blk.c
+++ b/blk.c
@@ -134,7 +134,7 @@
{
int n;
- n = hint*7;
+ n = hint;
n += tries;
n += ainc(&fs->roundrobin)/(1024*1024);
return &fs->arenas[n%fs->narena];