3 ms·
So, would a possible solution be to check how many people are using the random generator at once? If only one process is currently accessing /dev/urandom, then
by zatkin 13y ago
So, would a possible solution be to check how many people are using the random generator at once? If only one process is currently accessing /dev/urandom, then avoid the spinlock and problem solved. Or, I am completely wrong.
- mmckeen 13y agoIf there is only one process, then no spinlock contention, so no problem. The problem comes with multiple processes competing for the lock.
- ef47d35620c1 13y agoWould a possible solution be to check how many people are using the random generator...? One preson may have multiple processes reading from /dev/urandom.