Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Oct 2013 22:10:12 +0200
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no>
To:        Adrian Chadd <adrian@freebsd.org>
Cc:        "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, "src-committers@freebsd.org" <src-committers@freebsd.org>, Mark Murray <markm@freebsd.org>
Subject:   Re: svn commit: r256377 - in head: etc/defaults etc/rc.d share/examples/kld/random_adaptor share/man/man4 sys/boot/forth sys/conf sys/dev/glxsb sys/dev/hifn sys/dev/random sys/dev/rndtest sys/dev/safe ...
Message-ID:  <86k3hiqmhn.fsf@nine.des.no>
In-Reply-To: <CAJ-Vmom5AAbav42urUYq2EUgEuifZ2fMrzAhsFcXCNeEFSvdaA@mail.gmail.com> (Adrian Chadd's message of "Sat, 12 Oct 2013 13:09:06 -0700")
References:  <201310121257.r9CCvvjO006546@svn.freebsd.org> <CAJ-VmomMvW3k%2BD-t29nb9JByrE_rt7yXEyBnKzvN3KnhXjdXVw@mail.gmail.com> <86siw6qmxf.fsf@nine.des.no> <86ob6uqmp0.fsf@nine.des.no> <CAJ-Vmom5AAbav42urUYq2EUgEuifZ2fMrzAhsFcXCNeEFSvdaA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Adrian Chadd <adrian@freebsd.org> writes:
> http://people.freebsd.org/~adrian/mips/20131012-ar9344-boot-2.txt

Not stellar:

random_yarrow_reseed(): fast: 0 68 0 0 0 0 0 0 6 0 0 0 0 0 0 0 0
random_yarrow_reseed(): slow: 0 68 0 0 0 0 0 0 5 0 0 0 0 0 0 0 0

Can you apply the following patch and try again:

Index: sys/dev/random/random_adaptors.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- sys/dev/random/random_adaptors.c	(revision 256386)
+++ sys/dev/random/random_adaptors.c	(working copy)
@@ -239,5 +239,5 @@
 		(*random_adaptor->reseed)();
 	arc4rand(NULL, 0, 1);
 }
-SYSINIT(random_reseed, SI_SUB_INTRINSIC_POST, SI_ORDER_SECOND,
+SYSINIT(random_reseed, SI_SUB_KTHREAD_INIT, SI_ORDER_FIRST,
     random_adaptors_reseed, NULL);
Index: sys/kern/init_main.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- sys/kern/init_main.c	(revision 256386)
+++ sys/kern/init_main.c	(working copy)
@@ -853,4 +853,4 @@
 	sched_add(td, SRQ_BORING);
 	thread_unlock(td);
 }
-SYSINIT(kickinit, SI_SUB_KTHREAD_INIT, SI_ORDER_FIRST, kick_init, NULL);
+SYSINIT(kickinit, SI_SUB_KTHREAD_INIT, SI_ORDER_MIDDLE, kick_init, NULL);

DES
--=20
Dag-Erling Sm=C3=B8rgrav - des@des.no



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86k3hiqmhn.fsf>