]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
sched_ule(4): Pre-seed sched_random().
authorAlexander Motin <mav@FreeBSD.org>
Mon, 2 Aug 2021 14:50:34 +0000 (10:50 -0400)
committerAlexander Motin <mav@FreeBSD.org>
Sat, 28 Aug 2021 02:17:56 +0000 (22:17 -0400)
commit57cf5a9f0becc6d4b7cbdaad5be10ab28859b5ad
tree1ada92f362007b74bf84a06d7a41accc95a6158b
parent97e945e0fffc18a06cd39cf6220dfaca32a25bbb
sched_ule(4): Pre-seed sched_random().

I don't think it changes anything, but why not.

While there, make cpu_search_highest() use all 8 lower load bits for
noise, since it does not use cs_prefer and the code is not shared
with cpu_search_lowest() any more.

MFC after: 1 month

(cherry picked from commit ca34553b6f631ec4ec5ae9f3825e3196e172c35d)
sys/kern/sched_ule.c