Revision tags: release/4.11.0_cvs, release/4.11.0 |
|
#
7834081c |
| 19-Jan-2005 |
Colin Percival <cperciva@FreeBSD.org> |
Make "c->c_func = NULL" conditional on CALLOUT_LOCAL_ALLOC in both places where it occurs, not just one. :-)
Pointed out by: glebius Pointy had to: cperciva
|
#
0ceba3d6 |
| 19-Jan-2005 |
Colin Percival <cperciva@FreeBSD.org> |
Make "c->c_func = NULL" conditional on the CALLOUT_LOCAL_ALLOC flag, i.e., only clear c->c_func if the callout c is being used via the old timeout(9) interface.
Requested by: glebius
|
#
86fd19de |
| 19-Jan-2005 |
Colin Percival <cperciva@FreeBSD.org> |
Clarify the description of the callout_active() macro: It is cleared by callout_stop, callout_drain, and callout_deactivate, but is not automatically cleared when a callout returns.
|
#
e9dec2c4 |
| 07-Jan-2005 |
Colin Percival <cperciva@FreeBSD.org> |
Adjust two of my comments to the new world order: Indent protection in the first column is performed using /**, not /*-.
|
Revision tags: release/5.3.0_cvs, release/5.3.0 |
|
#
ff7ec58a |
| 06-Aug-2004 |
Robert Watson <rwatson@FreeBSD.org> |
Cut a KTR record whenever a callout is invoked. Mark whether it runs with Giant or not, and include the function point so it can be looked up against the kernel symbol table during trace analysis.
|
#
0413bacd |
| 06-Aug-2004 |
Colin Percival <cperciva@FreeBSD.org> |
When reseting a pending callout, perform the deregistration in callout_reset rather than calling callout_stop. This results in a few lines of code duplication, but it provides a significant performa
When reseting a pending callout, perform the deregistration in callout_reset rather than calling callout_stop. This results in a few lines of code duplication, but it provides a significant performance improvement because it avoids recursing on callout_lock.
Requested by: rwatson
show more ...
|
Revision tags: release/4.10.0_cvs, release/4.10.0 |
|
#
024035e8 |
| 25-Apr-2004 |
Hiten Pandya <hmp@FreeBSD.org> |
The paper "Hashed Timers and Hierarchical Wheels: Data Structures for the Efficient Implementation of a Timer Facility" was co-author'ed by T. Lauk, not A. Lauk.
Adjust nearby whitespace.
|
#
05641e82 |
| 20-Apr-2004 |
Colin Percival <cperciva@FreeBSD.org> |
1. Remove callout_stop binary compatibility. 2. Document that this means that kernel modules must be rebuilt. 3. While I'm here, fix my sorting error in callout.h
Requested by: many [1], scottl [2],
1. Remove callout_stop binary compatibility. 2. Document that this means that kernel modules must be rebuilt. 3. While I'm here, fix my sorting error in callout.h
Requested by: many [1], scottl [2], bde [3]
show more ...
|
#
49a74476 |
| 08-Apr-2004 |
Colin Percival <cperciva@FreeBSD.org> |
Add whitespace before comment blocks. (reported by njl) Remove spurious whitespace, add indent protection, fix punctuation, remove initialization of static variables to zero, put wakeup_ctr and wakeu
Add whitespace before comment blocks. (reported by njl) Remove spurious whitespace, add indent protection, fix punctuation, remove initialization of static variables to zero, put wakeup_ctr and wakeup_needed in the correct order. (reported by bde)
This doesn't fix all the style bugs I introduced, but the remaining style bugs make it easier for me to understand what I did here.
show more ...
|
#
2c1bb207 |
| 07-Apr-2004 |
Colin Percival <cperciva@FreeBSD.org> |
Introduce a callout_drain() function. This acts in the same manner as callout_stop(), except that if the callout being stopped is currently in progress, it blocks attempts to reset the callout and w
Introduce a callout_drain() function. This acts in the same manner as callout_stop(), except that if the callout being stopped is currently in progress, it blocks attempts to reset the callout and waits until the callout is completed before it returns.
This makes it possible to clean up callout-using code safely, e.g., without potentially freeing memory which is still being used by a callout.
Reviewed by: mux, gallatin, rwatson, jhb
show more ...
|
#
7f8a436f |
| 05-Apr-2004 |
Warner Losh <imp@FreeBSD.org> |
Remove advertising clause from University of California Regent's license, per letter dated July 22, 1999.
Approved by: core
|
Revision tags: release/5.2.1_cvs, release/5.2.1, release/5.2.0_cvs, release/5.2.0 |
|
#
377e7be4 |
| 07-Dec-2003 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Make the DIAGNOSTIC code which complains about long {call|time}out(9) functions less noisy: We printf if a new function took longer than the previous record holder, or of the previous record holder
Make the DIAGNOSTIC code which complains about long {call|time}out(9) functions less noisy: We printf if a new function took longer than the previous record holder, or of the previous record holder took more than twice as long as the current record.
show more ...
|
#
d87526cf |
| 15-Nov-2003 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Rename the debugging mutex "callout_no_sleep" to "dont_sleep_in_callout".
|
#
48b0f4b6 |
| 12-Nov-2003 |
Kirk McKusick <mckusick@FreeBSD.org> |
At the request of several developers, restore the DIAGNOSIC code deleted in 1.81. Increase the initial timeout limit to 2ms to eliminate spurious messages of excessive timeouts in the NFS client code
At the request of several developers, restore the DIAGNOSIC code deleted in 1.81. Increase the initial timeout limit to 2ms to eliminate spurious messages of excessive timeouts in the NFS client code.
Requested by: Poul-Henning Kamp <phk@phk.freebsd.dk> Requested by: Mike Silbersack <silby@silby.com> Requested by: Sam Leffler <sam@errno.com>
show more ...
|
#
b932dd9b |
| 04-Nov-2003 |
Kirk McKusick <mckusick@FreeBSD.org> |
Get rid of DIAGNOSTIC that gives false positives on slow CPUs.
|
Revision tags: release/4.9.0_cvs, release/4.9.0 |
|
#
38bf4e96 |
| 23-Aug-2003 |
Marcel Moolenaar <marcel@FreeBSD.org> |
On ia64 time_t is 64 bit. Explicitly cast tv_sec to long and change the corresponding format specifier to %ld in a call to printf() in function softclock(). The printf() is conditional upon DIAGNOSTI
On ia64 time_t is 64 bit. Explicitly cast tv_sec to long and change the corresponding format specifier to %ld in a call to printf() in function softclock(). The printf() is conditional upon DIAGNOSTIC.
Found by: LINT
show more ...
|
#
166400b7 |
| 20-Jun-2003 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Don't put callout_lock under #ifdef DIAGNOSTIC despite the fact that it works anyway.
|
#
ce6912c4 |
| 20-Jun-2003 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Crude but efficient:
#ifdef DIAGNOSTIC hold a mutex while calling callout's so that we hear about it if they sleep.
|
#
677b542e |
| 11-Jun-2003 |
David E. O'Brien <obrien@FreeBSD.org> |
Use __FBSDID().
|
Revision tags: release/5.1.0_cvs, release/5.1.0 |
|
#
22ee8c4f |
| 04-Jun-2003 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Add instrumentation which tells us how much work softclock() does per invocation.
|
Revision tags: release/4.8.0_cvs, release/4.8.0 |
|
#
33bef83c |
| 01-Feb-2003 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Under DIAGNOSTIC, only report expensive timeouts if they are more expensive than the last on we reported.
|
Revision tags: release/5.0.0_cvs, release/5.0.0, release/4.7.0_cvs |
|
#
32c6c478 |
| 05-Sep-2002 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Fix a format buglet.
Spotted by: iedowse
|
#
b336df68 |
| 04-Sep-2002 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Under DIAGNOSTIC, complain if a timeout(9) routine took more than 1msec.
|
Revision tags: release/4.6.2_cvs, release/4.6.2, release/4.6.1, release/4.6.0_cvs |
|
#
6008862b |
| 04-Apr-2002 |
John Baldwin <jhb@FreeBSD.org> |
Change callers of mtx_init() to pass in an appropriate lock type name. In most cases NULL is passed, but in some cases such as network driver locks (which use the MTX_NETWORK_LOCK macro) and UMA zon
Change callers of mtx_init() to pass in an appropriate lock type name. In most cases NULL is passed, but in some cases such as network driver locks (which use the MTX_NETWORK_LOCK macro) and UMA zone locks, a name is used.
Tested on: i386, alpha, sparc64
show more ...
|
#
4d77a549 |
| 19-Mar-2002 |
Alfred Perlstein <alfred@FreeBSD.org> |
Remove __P.
|