This patch replaces rand() with rand_r(), improving the scalability of memaslap. (The glibc implementation of rand() takes an internal lock.)
This patch replaces rand() with rand_r(), improving the scalability of memaslap. (The glibc implementation of rand() takes an internal lock.)