Messages in this thread | | | Date | Fri, 11 Dec 2020 08:28:32 +0100 | From | Dominik Brodowski <> | Subject | Re: [PATCH] init: fix msleep() is not accurate |
| |
Am Fri, Dec 11, 2020 at 11:24:12AM +0800 schrieb Yejune Deng: > See Documentation/timers/timers-howto.rst, msleep() is not > for (1ms - 20ms),use usleep_range() instead.
While technically correct, this branch is only taken if the "rootwait" kernel parameter is passed -- and as the kernel is looping here, it does not really hurt if the msleep(5) takes a bit longer than advertised.
Thanks, Dominik
| |