callout(9): adopt old references to timeout(9)
timeout(9) was removed a couple of years ago; all consumers now use the callout(9) interface. Explicitly do not bump .Dd anywhere, as this is not a content or semantic change. Reviewed by: markj, jhb, Pau Amma <pauamma@gundo.com> MFC after: 1 week Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D39136
This commit is contained in:
parent
f6f8cbda8e
commit
8965b3033e
@ -251,11 +251,11 @@ will fail if:
|
|||||||
Timeout expired.
|
Timeout expired.
|
||||||
.El
|
.El
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
|
.Xr callout 9 ,
|
||||||
.Xr locking 9 ,
|
.Xr locking 9 ,
|
||||||
.Xr mtx_pool 9 ,
|
.Xr mtx_pool 9 ,
|
||||||
.Xr mutex 9 ,
|
.Xr mutex 9 ,
|
||||||
.Xr rwlock 9 ,
|
.Xr rwlock 9 ,
|
||||||
.Xr sema 9 ,
|
.Xr sema 9 ,
|
||||||
.Xr sleep 9 ,
|
.Xr sleep 9 ,
|
||||||
.Xr sx 9 ,
|
.Xr sx 9
|
||||||
.Xr timeout 9
|
|
||||||
|
@ -267,14 +267,14 @@ The
|
|||||||
.Nm
|
.Nm
|
||||||
kernel programming interface is under development and is subject to change.
|
kernel programming interface is under development and is subject to change.
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
|
.Xr callout 9 ,
|
||||||
.Xr locking 9 ,
|
.Xr locking 9 ,
|
||||||
.Xr mtx_pool 9 ,
|
.Xr mtx_pool 9 ,
|
||||||
.Xr mutex 9 ,
|
.Xr mutex 9 ,
|
||||||
.Xr rwlock 9 ,
|
.Xr rwlock 9 ,
|
||||||
.Xr sema 9 ,
|
.Xr sema 9 ,
|
||||||
.Xr sleep 9 ,
|
.Xr sleep 9 ,
|
||||||
.Xr sx 9 ,
|
.Xr sx 9
|
||||||
.Xr timeout 9
|
|
||||||
.Sh HISTORY
|
.Sh HISTORY
|
||||||
The
|
The
|
||||||
.Nm
|
.Nm
|
||||||
|
@ -422,6 +422,7 @@ At this time this is a rather easy to remember table.
|
|||||||
.Xr witness 4 ,
|
.Xr witness 4 ,
|
||||||
.Xr atomic 9 ,
|
.Xr atomic 9 ,
|
||||||
.Xr BUS_SETUP_INTR 9 ,
|
.Xr BUS_SETUP_INTR 9 ,
|
||||||
|
.Xr callout 9 ,
|
||||||
.Xr condvar 9 ,
|
.Xr condvar 9 ,
|
||||||
.Xr epoch 9 ,
|
.Xr epoch 9 ,
|
||||||
.Xr lock 9 ,
|
.Xr lock 9 ,
|
||||||
@ -433,7 +434,6 @@ At this time this is a rather easy to remember table.
|
|||||||
.Xr sema 9 ,
|
.Xr sema 9 ,
|
||||||
.Xr sleep 9 ,
|
.Xr sleep 9 ,
|
||||||
.Xr smr 9 ,
|
.Xr smr 9 ,
|
||||||
.Xr sx 9 ,
|
.Xr sx 9
|
||||||
.Xr timeout 9
|
|
||||||
.Sh BUGS
|
.Sh BUGS
|
||||||
There are too many locking primitives to choose from.
|
There are too many locking primitives to choose from.
|
||||||
|
@ -366,13 +366,13 @@ A non-zero timeout was specified and the timeout expired.
|
|||||||
.El
|
.El
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
.Xr ps 1 ,
|
.Xr ps 1 ,
|
||||||
|
.Xr callout 9 ,
|
||||||
.Xr locking 9 ,
|
.Xr locking 9 ,
|
||||||
.Xr malloc 9 ,
|
.Xr malloc 9 ,
|
||||||
.Xr mi_switch 9 ,
|
.Xr mi_switch 9 ,
|
||||||
.Xr mtx_sleep 9 ,
|
.Xr mtx_sleep 9 ,
|
||||||
.Xr rw_sleep 9 ,
|
.Xr rw_sleep 9 ,
|
||||||
.Xr sx_sleep 9 ,
|
.Xr sx_sleep 9
|
||||||
.Xr timeout 9
|
|
||||||
.Sh HISTORY
|
.Sh HISTORY
|
||||||
The functions
|
The functions
|
||||||
.Fn sleep
|
.Fn sleep
|
||||||
|
@ -383,8 +383,8 @@ interfaces.
|
|||||||
Almost all other code in the kernel should use one of those interfaces rather
|
Almost all other code in the kernel should use one of those interfaces rather
|
||||||
than manipulating sleep queues directly.
|
than manipulating sleep queues directly.
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
|
.Xr callout 9 ,
|
||||||
.Xr condvar 9 ,
|
.Xr condvar 9 ,
|
||||||
.Xr runqueue 9 ,
|
.Xr runqueue 9 ,
|
||||||
.Xr scheduler 9 ,
|
.Xr scheduler 9 ,
|
||||||
.Xr sleep 9 ,
|
.Xr sleep 9
|
||||||
.Xr timeout 9
|
|
||||||
|
@ -45,9 +45,9 @@ of system ticks that would elapse.
|
|||||||
Returns the integral number of system ticks expected to elapse in the given
|
Returns the integral number of system ticks expected to elapse in the given
|
||||||
interval, including the current tick.
|
interval, including the current tick.
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
|
.Xr callout 9 ,
|
||||||
.Xr microtime 9 ,
|
.Xr microtime 9 ,
|
||||||
.Xr microuptime 9 ,
|
.Xr microuptime 9
|
||||||
.Xr timeout 9
|
|
||||||
.Sh HISTORY
|
.Sh HISTORY
|
||||||
The
|
The
|
||||||
.Nm
|
.Nm
|
||||||
|
@ -728,7 +728,7 @@ softclock_call_cc(struct callout *c, struct callout_cpu *cc,
|
|||||||
if (lastfunc != c_func || sbt2 > maxdt * 2) {
|
if (lastfunc != c_func || sbt2 > maxdt * 2) {
|
||||||
ts2 = sbttots(sbt2);
|
ts2 = sbttots(sbt2);
|
||||||
printf(
|
printf(
|
||||||
"Expensive timeout(9) function: %p(%p) %jd.%09ld s\n",
|
"Expensive callout(9) function: %p(%p) %jd.%09ld s\n",
|
||||||
c_func, c_arg, (intmax_t)ts2.tv_sec, ts2.tv_nsec);
|
c_func, c_arg, (intmax_t)ts2.tv_sec, ts2.tv_nsec);
|
||||||
}
|
}
|
||||||
maxdt = sbt2;
|
maxdt = sbt2;
|
||||||
|
Loading…
Reference in New Issue
Block a user