<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/sys/dev/random/harvest.c, branch release/7.0.0_cvs</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F7.0.0_cvs</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F7.0.0_cvs'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2008-02-24T05:45:17Z</updated>
<entry>
<title>This commit was manufactured by cvs2svn to create tag</title>
<updated>2008-02-24T05:45:17Z</updated>
<author>
<name>cvs2svn</name>
<email>cvs2svn@FreeBSD.org</email>
</author>
<published>2008-02-24T05:45:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=a9c219fa3cec18ef9f30edec6fa106bf0e2d423d'/>
<id>urn:sha1:a9c219fa3cec18ef9f30edec6fa106bf0e2d423d</id>
<content type='text'>
'RELENG_7_0_0_RELEASE'.

This commit was manufactured to restore the state of the 7.0-RELEASE image.
</content>
</entry>
<entry>
<title>Annotate that get_cyclecount() can be expensive on some platforms,</title>
<updated>2004-10-18T19:29:13Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2004-10-18T19:29:13Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=8f30dde5fee772ca49e9719d692c1d75a9e1046a'/>
<id>urn:sha1:8f30dde5fee772ca49e9719d692c1d75a9e1046a</id>
<content type='text'>
which juxtaposes nicely with the comment just above on how the
harvest function must be cheap.
</content>
</entry>
<entry>
<title>Default to harvesting everything. This is to help give a faster</title>
<updated>2004-04-16T17:07:11Z</updated>
<author>
<name>Mark Murray</name>
<email>markm@FreeBSD.org</email>
</author>
<published>2004-04-16T17:07:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=2a8b87d883fc0b98a4db6d6fbd8061d00b32e07f'/>
<id>urn:sha1:2a8b87d883fc0b98a4db6d6fbd8061d00b32e07f</id>
<content type='text'>
startup. harvesting can be turned OFF in etc/rc.d/* if it is a
burden.
</content>
</entry>
<entry>
<title>Reorganise the entropy device so that high-yield entropy sources</title>
<updated>2004-04-09T15:47:10Z</updated>
<author>
<name>Mark Murray</name>
<email>markm@FreeBSD.org</email>
</author>
<published>2004-04-09T15:47:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=e7806b4c0eb398aba8b6e8ddeda96e6ddd9305ae'/>
<id>urn:sha1:e7806b4c0eb398aba8b6e8ddeda96e6ddd9305ae</id>
<content type='text'>
can more easily be used INSTEAD OF the hard-working Yarrow.
The only hardware source used at this point is the one inside
the VIA C3 Nehemiah (Stepping 3 and above) CPU. More sources will
be added in due course. Contributions welcome!
</content>
</entry>
<entry>
<title>kthread_exit() no longer requires Giant, so don't force callers to acquire</title>
<updated>2004-03-05T22:42:17Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2004-03-05T22:42:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=6074439965095d5265de872bb966a1a743edb724'/>
<id>urn:sha1:6074439965095d5265de872bb966a1a743edb724</id>
<content type='text'>
Giant just to call kthread_exit().

Requested by:	many
</content>
</entry>
<entry>
<title>Overhaul the entropy device:</title>
<updated>2003-11-17T23:02:21Z</updated>
<author>
<name>Mark Murray</name>
<email>markm@FreeBSD.org</email>
</author>
<published>2003-11-17T23:02:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=0887c8c110da2f060bc422e6942320054bcc755d'/>
<id>urn:sha1:0887c8c110da2f060bc422e6942320054bcc755d</id>
<content type='text'>
o Each source gets its own queue, which is a FIFO, not a ring buffer.
  The FIFOs are implemented with the sys/queue.h macros. The separation
  is so that a low entropy/high rate source can't swamp the harvester
  with low-grade entropy and destroy the reseeds.

o Each FIFO is limited to 256 (set as a macro, so adjustable) events
  queueable. Full FIFOs are ignored by the harvester. This is to
  prevent memory wastage, and helps to keep the kernel thread CPU
  usage within reasonable limits.

o There is no need to break up the event harvesting into ${burst}
  sized chunks, so retire that feature.

o Break the device away from its roots with the memory device, and
  allow it to get its major number automagically.
</content>
</entry>
<entry>
<title>Use __FBSDID().</title>
<updated>2003-08-24T17:55:58Z</updated>
<author>
<name>David E. O'Brien</name>
<email>obrien@FreeBSD.org</email>
</author>
<published>2003-08-24T17:55:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=aad970f1fee9a2a3e5a0f880be9b87c6193b3bd1'/>
<id>urn:sha1:aad970f1fee9a2a3e5a0f880be9b87c6193b3bd1</id>
<content type='text'>
Also some minor style cleanups.
</content>
</entry>
<entry>
<title>Remove srandom():</title>
<updated>2003-02-05T15:56:04Z</updated>
<author>
<name>Andrey A. Chernov</name>
<email>ache@FreeBSD.org</email>
</author>
<published>2003-02-05T15:56:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=952b6153de6b9223e318948d8c1ae090672a135c'/>
<id>urn:sha1:952b6153de6b9223e318948d8c1ae090672a135c</id>
<content type='text'>
1) It is already called in init_main.c:proc0_post()
2) It is called each time read_random_phony() called, because "initialized"
variable is never set to 1.

Approved by:    markm
</content>
</entry>
<entry>
<title>Fix really dumb braino of mine; cast a sizeof() to an int, which it is</title>
<updated>2002-04-21T11:02:36Z</updated>
<author>
<name>Mark Murray</name>
<email>markm@FreeBSD.org</email>
</author>
<published>2002-04-21T11:02:36Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=815eb79cb8aeda7b35099acfb2e30a6d4989d2f8'/>
<id>urn:sha1:815eb79cb8aeda7b35099acfb2e30a6d4989d2f8</id>
<content type='text'>
being compared to, not size_t, which it already is.
</content>
</entry>
<entry>
<title>Massive lint-inspired cleanup.</title>
<updated>2002-03-03T19:44:22Z</updated>
<author>
<name>Mark Murray</name>
<email>markm@FreeBSD.org</email>
</author>
<published>2002-03-03T19:44:22Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=e119960112f35b3ec1179e262cccde05b59a0309'/>
<id>urn:sha1:e119960112f35b3ec1179e262cccde05b59a0309</id>
<content type='text'>
Remove unneeded includes.
Deal with unused function arguments.
Resolve a boatload of signed/unsigned imcompatabilities.
Etc.
</content>
</entry>
</feed>
