<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/sys/kern/subr_taskqueue.c, branch releng/6.3</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=releng%2F6.3</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=releng%2F6.3'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2006-09-02T15:28:09Z</updated>
<entry>
<title>MFC 1.37: start threads stopped before adjusting priority to avoid</title>
<updated>2006-09-02T15:28:09Z</updated>
<author>
<name>Sam Leffler</name>
<email>sam@FreeBSD.org</email>
</author>
<published>2006-09-02T15:28:09Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=565664659404b98bc558cc491cb89fb1b2714dcc'/>
<id>urn:sha1:565664659404b98bc558cc491cb89fb1b2714dcc</id>
<content type='text'>
	races, generate console msg if thread create fails
</content>
</entry>
<entry>
<title>MFC: sync taskqueue api with HEAD modulo preserving the calling</title>
<updated>2006-07-06T08:32:50Z</updated>
<author>
<name>Gleb Smirnoff</name>
<email>glebius@FreeBSD.org</email>
</author>
<published>2006-07-06T08:32:50Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=38813ad6eef1e6e566e724547f53bf7bdadf2846'/>
<id>urn:sha1:38813ad6eef1e6e566e724547f53bf7bdadf2846</id>
<content type='text'>
     convention for taskqueue_create

This is replay of [1], that was backed out before 6.1-RELEASE
due to breaking ACPI on certain laptops. The [2] commit has
fixed this problem. bsam@, who once reported the breakage
confirms that after [2] the problem has vanished and now it
is safe to merge [1] again.

[1] http://lists.freebsd.org/pipermail/cvs-src/2006-March/061203.html
[2] http://lists.freebsd.org/pipermail/cvs-src/2006-June/065256.html

Tested by:	bsam
</content>
</entry>
<entry>
<title>backout taskqueue changes</title>
<updated>2006-04-02T00:14:57Z</updated>
<author>
<name>Sam Leffler</name>
<email>sam@FreeBSD.org</email>
</author>
<published>2006-04-02T00:14:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=ccb37cbdb50db319dd28c12b1662892900b6bc45'/>
<id>urn:sha1:ccb37cbdb50db319dd28c12b1662892900b6bc45</id>
<content type='text'>
Approved by:	re (scottl)
</content>
</entry>
<entry>
<title>MFC: sync taskqueue api with HEAD modulo preserving the calling</title>
<updated>2006-03-14T23:28:30Z</updated>
<author>
<name>Sam Leffler</name>
<email>sam@FreeBSD.org</email>
</author>
<published>2006-03-14T23:28:30Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=16da188c4b9167c5b407a05d9a640292df2d4314'/>
<id>urn:sha1:16da188c4b9167c5b407a05d9a640292df2d4314</id>
<content type='text'>
     convention for taskqueue_create

Reviewed by:	various
Approved by:	re (scottl)
</content>
</entry>
<entry>
<title>MFC rev 1.31: Allow the fast taskqueue to run without Giant</title>
<updated>2006-01-30T07:51:10Z</updated>
<author>
<name>Scott Long</name>
<email>scottl@FreeBSD.org</email>
</author>
<published>2006-01-30T07:51:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=8a3080c74e7065b184187c63615bdb7fe15ee465'/>
<id>urn:sha1:8a3080c74e7065b184187c63615bdb7fe15ee465</id>
<content type='text'>
</content>
</entry>
<entry>
<title>o enable shutdown of taskqueue threads; the thread servicing the queue checks</title>
<updated>2005-05-01T00:38:11Z</updated>
<author>
<name>Sam Leffler</name>
<email>sam@FreeBSD.org</email>
</author>
<published>2005-05-01T00:38:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=52bc746a28137c6de821c0a21896d4134599033a'/>
<id>urn:sha1:52bc746a28137c6de821c0a21896d4134599033a</id>
<content type='text'>
  a new entry in the taskqueue struct each time it wakes up to see if it
  should terminate
o adjust TASKQUEUE_DEFINE_THREAD &amp; co. to record the thread/proc identity for
  the shutdown rendezvous
o replace wakeup after adding a task to a queue with wakeup_one; this helps
  queues where multiple threads are used to service tasks (e.g. acpi)
o remove NULL check of tq_enqueue method; it should never be NULL

Reviewed by:	dfr, njl
</content>
</entry>
<entry>
<title>o eliminate modification of task structures after their run to avoid</title>
<updated>2005-04-24T16:52:45Z</updated>
<author>
<name>Sam Leffler</name>
<email>sam@FreeBSD.org</email>
</author>
<published>2005-04-24T16:52:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=f4581151a8aad772d7f45f9de2ac8882d9147a13'/>
<id>urn:sha1:f4581151a8aad772d7f45f9de2ac8882d9147a13</id>
<content type='text'>
  modify-after-free races when the task structure is malloc'd
o shrink task structure by removing ta_flags (no longer needed with
  avoid fix) and combining ta_pending and ta_priority

Reviewed by:	dwhite, dfr
MFC after:	4 days
</content>
</entry>
<entry>
<title>Add taskqueue_drain.  This waits for the specified task to finish, if</title>
<updated>2004-10-05T04:16:01Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2004-10-05T04:16:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=14889b422910d683b06059f5b0eb340e4cc590d4'/>
<id>urn:sha1:14889b422910d683b06059f5b0eb340e4cc590d4</id>
<content type='text'>
running, or returns.  The calling program is responsible for making sure
that nothing new is enqueued.

# man page coming soon.
</content>
</entry>
<entry>
<title>rearange some code that handles the thread taskqueue so that it is more</title>
<updated>2004-08-08T02:37:22Z</updated>
<author>
<name>John-Mark Gurney</name>
<email>jmg@FreeBSD.org</email>
</author>
<published>2004-08-08T02:37:22Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=227559d11f2868bad58c0259117d64efffcff184'/>
<id>urn:sha1:227559d11f2868bad58c0259117d64efffcff184</id>
<content type='text'>
generic.  Introduce a new define TASKQUEUE_DEFINE_THREAD that takes a
single arg, which is the name of the queue.

Document these changes.
</content>
</entry>
<entry>
<title>- Execute all of the tasks on the taskqueue during taskqueue_free() after</title>
<updated>2004-06-28T16:28:23Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2004-06-28T16:28:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=bd83e879fd2a2e330cfcb55a591c995d06d944b9'/>
<id>urn:sha1:bd83e879fd2a2e330cfcb55a591c995d06d944b9</id>
<content type='text'>
  the queue has been removed from the global taskqueue_queues list.  This
  removes the need for the draining queue hack.
- Allow taskqueue_run() to be called with the taskqueue mutex held.  It
  can still be called without the lock for API compatiblity.  In that case
  it will acquire the lock internally.
- Don't lock the individual queue mutex in taskqueue_find() until after the
  strcmp as the global queues mutex is sufficient for the strcmp.
- Simplify taskqueue_thread_loop() now that it can hold the lock across
  taskqueue_run().

Submitted by:	bde (mostly)
</content>
</entry>
</feed>
