I'm very pleased to announce the release of our new website and documentation using the new toolchain with Hugo and AsciiDoctor. To get more information about the new toolchain please read the FreeBSD Documentation Project Primer[1], Hugo docs[2] and AsciiDoctor docs[3]. Acknowledgment: Benedict Reuschling <bcr@> Glen Barber <gjb@> Hiroki Sato <hrs@> Li-Wen Hsu <lwhsu@> Sean Chittenden <seanc@> The FreeBSD Foundation [1] https://docs.FreeBSD.org/en/books/fdp-primer/ [2] https://gohugo.io/documentation/ [3] https://docs.asciidoctor.org/home/ Approved by: doceng, core
20 lines
537 B
Diff
20 lines
537 B
Diff
--- sys/kern/kern_timeout.c.orig
|
|
+++ sys/kern/kern_timeout.c
|
|
@@ -1270,7 +1270,7 @@
|
|
* just wait for the current invocation to
|
|
* finish.
|
|
*/
|
|
- while (cc_exec_curr(cc, direct) == c) {
|
|
+ if (cc_exec_curr(cc, direct) == c) {
|
|
/*
|
|
* Use direct calls to sleepqueue interface
|
|
* instead of cv/msleep in order to avoid
|
|
@@ -1318,7 +1318,7 @@
|
|
|
|
/* Reacquire locks previously released. */
|
|
PICKUP_GIANT();
|
|
- CC_LOCK(cc);
|
|
+ goto again;
|
|
}
|
|
c->c_flags &= ~CALLOUT_ACTIVE;
|
|
} else if (use_lock &&
|