<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/kern/subr_taskqueue.c, branch releng/8.3</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F8.3</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F8.3'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2011-09-16T02:28:55Z</updated>
<entry>
<title>Merge r225570 from HEAD - Ensure that ta_pending doesn't overflow u_short by capping its value at USHRT_MAX.</title>
<updated>2011-09-16T02:28:55Z</updated>
<author>
<name>Adrian Chadd</name>
<email>adrian@FreeBSD.org</email>
</author>
<published>2011-09-16T02:28:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=65f98e8a58063bf256c285bfb5f27259d6b34da6'/>
<id>urn:sha1:65f98e8a58063bf256c285bfb5f27259d6b34da6</id>
<content type='text'>
If it overflows before the taskqueue can run, the task will be
re-added to the taskqueue and cause a loop in the task list.

Submitted by: rstone@
Reviewed by:  jhb@

MFC after:	1 day
</content>
</entry>
<entry>
<title>MFC r215750: taskqueue: drop unused tq_name field</title>
<updated>2011-03-11T15:14:40Z</updated>
<author>
<name>Andriy Gapon</name>
<email>avg@FreeBSD.org</email>
</author>
<published>2011-03-11T15:14:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f1a1b8e658082a57d5682670357f4c21f42e2da3'/>
<id>urn:sha1:f1a1b8e658082a57d5682670357f4c21f42e2da3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>MFC r213813.  This is a direct commit because the diff is against</title>
<updated>2010-11-12T18:09:06Z</updated>
<author>
<name>Matthew D Fleming</name>
<email>mdf@FreeBSD.org</email>
</author>
<published>2010-11-12T18:09:06Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5b0d5d748f48d7a58d08827ead6b6d7d528c3420'/>
<id>urn:sha1:5b0d5d748f48d7a58d08827ead6b6d7d528c3420</id>
<content type='text'>
several non-MFC'd changes.

Use a safer mechanism for determining if a task is currently running,
that does not rely on the lifetime of pointers being the same. This
also restores the task KBI.
</content>
</entry>
<entry>
<title>MFC r209062: fix a few cases where a string is passed via format</title>
<updated>2010-07-08T20:38:48Z</updated>
<author>
<name>Andriy Gapon</name>
<email>avg@FreeBSD.org</email>
</author>
<published>2010-07-08T20:38:48Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ba87e6b3b905f37c9dd0f0be93bbb52f045d85cd'/>
<id>urn:sha1:ba87e6b3b905f37c9dd0f0be93bbb52f045d85cd</id>
<content type='text'>
argument instead of via %s

Note:	no MFC to stable/7
</content>
</entry>
<entry>
<title>MFC 198411:</title>
<updated>2010-01-21T19:11:18Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2010-01-21T19:11:18Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=49cc13441b0f01b031ce131443f8416eb979e766'/>
<id>urn:sha1:49cc13441b0f01b031ce131443f8416eb979e766</id>
<content type='text'>
- Fix several off-by-one errors when using MAXCOMLEN.  The p_comm[] and
  td_name[] arrays are actually MAXCOMLEN + 1 in size and a few places that
  created shadow copies of these arrays were just using MAXCOMLEN.
- Prefer using sizeof() of an array type to explicit constants for the
  array length in a few places.
- Ensure that all of p_comm[] and td_name[] is always zero'd during
  execve() to guard against any possible information leaks.  Previously
  trailing garbage in p_comm[] could be leaked to userland in ktrace
  record headers via td_name[].
</content>
</entry>
<entry>
<title>MFC r196358:</title>
<updated>2009-08-18T14:00:25Z</updated>
<author>
<name>Pawel Jakub Dawidek</name>
<email>pjd@FreeBSD.org</email>
</author>
<published>2009-08-18T14:00:25Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=65536ad653cdf3e4e76f046564515cfe0b2dffd6'/>
<id>urn:sha1:65536ad653cdf3e4e76f046564515cfe0b2dffd6</id>
<content type='text'>
Remove unused taskqueue_find() function.

Reviewed by:	dfr
Approved by:	re (kib)
</content>
</entry>
<entry>
<title>MFC r196295:</title>
<updated>2009-08-17T09:03:47Z</updated>
<author>
<name>Pawel Jakub Dawidek</name>
<email>pjd@FreeBSD.org</email>
</author>
<published>2009-08-17T09:03:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e43f1736025f4815411d70c690b31e86af0255c6'/>
<id>urn:sha1:e43f1736025f4815411d70c690b31e86af0255c6</id>
<content type='text'>
Remove OpenSolaris taskq port (it performs very poorly in our kernel) and
replace it with wrappers around our taskqueue(9).
To make it possible implement taskqueue_member() function which returns 1
if the given thread was created by the given taskqueue.

Approved by:	re (kib)
</content>
</entry>
<entry>
<title>MFC r196293:</title>
<updated>2009-08-17T08:46:47Z</updated>
<author>
<name>Pawel Jakub Dawidek</name>
<email>pjd@FreeBSD.org</email>
</author>
<published>2009-08-17T08:46:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ea5f504fed085eba4540b59651fbd57056995284'/>
<id>urn:sha1:ea5f504fed085eba4540b59651fbd57056995284</id>
<content type='text'>
Because taskqueue_run() can drop tq_mutex, we need to check if the
TQ_FLAGS_ACTIVE flag wasn't removed in the meantime, which means we missed a
wakeup.

Approved by:	re (kib)
</content>
</entry>
<entry>
<title>Remove semicolon left in the last commit</title>
<updated>2009-02-13T18:51:39Z</updated>
<author>
<name>Andrew Thompson</name>
<email>thompsa@FreeBSD.org</email>
</author>
<published>2009-02-13T18:51:39Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a1797ef6c891e9e436acfcfe8ef4697ae44b7778'/>
<id>urn:sha1:a1797ef6c891e9e436acfcfe8ef4697ae44b7778</id>
<content type='text'>
Spotted by:	csjp
</content>
</entry>
<entry>
<title>Check the exit flag at the start of the taskqueue loop rather than the end. It</title>
<updated>2009-02-13T01:16:51Z</updated>
<author>
<name>Andrew Thompson</name>
<email>thompsa@FreeBSD.org</email>
</author>
<published>2009-02-13T01:16:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=24ef0701260e030b626e6d6a5a65c69d3230891f'/>
<id>urn:sha1:24ef0701260e030b626e6d6a5a65c69d3230891f</id>
<content type='text'>
is possible to tear down the taskqueue before the thread has run and the
taskqueue loop would sleep forever.

Reviewed by:	sam
MFC after:	1 week
</content>
</entry>
</feed>
