> Date: Tue, 22 Sep 2020 13:07:04 +0300 > From: Andreas Gustafsson <g...@gson.org> > > The following patch will cause a kernel message to be logged when a > process blocks on /dev/random or some other randomness API. It may > help some users befuddled by pkgsrc builds blocking on /dev/random, > and I'm finding it useful when testing changes aimed at fixing PR > 55659. > > OK to commit?
I think this is fine, but it should be rate-limited the same way other messages in kern_entropy.c are rate-limited. if (ratecheck(&lasttime, &interval)) printf("...");