<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/sys/dev/random, branch release/5.2.0_cvs</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F5.2.0_cvs</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F5.2.0_cvs'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2004-01-10T05:53:29Z</updated>
<entry>
<title>This commit was manufactured by cvs2svn to create tag</title>
<updated>2004-01-10T05:53:29Z</updated>
<author>
<name>cvs2svn</name>
<email>cvs2svn@FreeBSD.org</email>
</author>
<published>2004-01-10T05:53:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=58c9ff44c8041f394c663cb9640e9b77fe07bb13'/>
<id>urn:sha1:58c9ff44c8041f394c663cb9640e9b77fe07bb13</id>
<content type='text'>
'RELENG_5_2_0_RELEASE'.

This commit was manufactured to restore the state of the 5.2-RELEASE image.
Releases prior to 5.3-RELEASE are omitting the secure/ and crypto/ subdirs.
</content>
</entry>
<entry>
<title>Fix a major faux pas of mine. I was causing 2 very bad things to</title>
<updated>2003-11-20T15:35:48Z</updated>
<author>
<name>Mark Murray</name>
<email>markm@FreeBSD.org</email>
</author>
<published>2003-11-20T15:35:48Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=4e3a7a14d9ee7553f12363ada914d792b7f5e021'/>
<id>urn:sha1:4e3a7a14d9ee7553f12363ada914d792b7f5e021</id>
<content type='text'>
happen in interrupt context; 1) sleep locks, and 2) malloc/free
calls.

1) is fixed by using spin locks instead.

2) is fixed by preallocating a FIFO (implemented with a STAILQ)
   and using elements from this FIFO instead. This turns out
   to be rather fast.

OK'ed by:	re (scottl)
Thanks to:	peter, jhb, rwatson, jake
Apologies to:	*
</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>- Implement selwakeuppri() which allows raising the priority of a</title>
<updated>2003-11-09T09:17:26Z</updated>
<author>
<name>Seigo Tanimura</name>
<email>tanimura@FreeBSD.org</email>
</author>
<published>2003-11-09T09:17:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=512824f8f7748f7bb54ef900bc8e68a95a3d0f4d'/>
<id>urn:sha1:512824f8f7748f7bb54ef900bc8e68a95a3d0f4d</id>
<content type='text'>
  thread being waken up.  The thread waken up can run at a priority as
  high as after tsleep().

- Replace selwakeup()s with selwakeuppri()s and pass appropriate
  priorities.

- Add cv_broadcastpri() which raises the priority of the broadcast
  threads.  Used by selwakeuppri() if collision occurs.

Not objected in:	-arch, -current
</content>
</entry>
<entry>
<title>Make sure we get all user-written input. This simplifies the</title>
<updated>2003-11-02T10:55:16Z</updated>
<author>
<name>Mark Murray</name>
<email>markm@FreeBSD.org</email>
</author>
<published>2003-11-02T10:55:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=f757589236b4ab8b41b811afee170c30f6157e70'/>
<id>urn:sha1:f757589236b4ab8b41b811afee170c30f6157e70</id>
<content type='text'>
code considerably.

Submitted by:	(forgotten)
[I'll happily acknowledge the submitter if he owns up!]
</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>Change the sleep identifier to "-" where random normally sleeps.</title>
<updated>2003-07-02T08:04:57Z</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>2003-07-02T08:04:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=68c2a41e6ce830dc667df31a243debfde23682fd'/>
<id>urn:sha1:68c2a41e6ce830dc667df31a243debfde23682fd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Gigacommit to improve device-driver source compatibility between</title>
<updated>2003-03-03T12:15:54Z</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>2003-03-03T12:15:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=7ac40f5f59dea6e9ab4869e974bdd4026274e921'/>
<id>urn:sha1:7ac40f5f59dea6e9ab4869e974bdd4026274e921</id>
<content type='text'>
branches:

Initialize struct cdevsw using C99 sparse initializtion and remove
all initializations to default values.

This patch is automatically generated and has been tested by compiling
LINT with all the fields in struct cdevsw in reverse order on alpha,
sparc64 and i386.

Approved by:    re(scottl)
</content>
</entry>
<entry>
<title>Back out M_* changes, per decision of the TRB.</title>
<updated>2003-02-19T05:47:46Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2003-02-19T05:47:46Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=a163d034fadcfb4a25ca34a2ba5f491c47b6ff69'/>
<id>urn:sha1:a163d034fadcfb4a25ca34a2ba5f491c47b6ff69</id>
<content type='text'>
Approved by: trb
</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>
</feed>
