svn commit: r322853 - in head: share/man/man4 sys/kern
Conrad Meyer
cem at FreeBSD.org
Thu Aug 24 19:16:26 UTC 2017
Author: cem
Date: Thu Aug 24 19:16:25 2017
New Revision: 322853
URL: https://svnweb.freebsd.org/changeset/base/322853
Log:
Remove unused declaration and update ddb.4
A follow-up to r322836.
Warnings for the unused declaration were breaking some second tier
architectures, but did not show up in Clang on x86.
Reported by: markj (ddb.4), emaste (declaration)
Sponsored by: Dell EMC Isilon
Modified:
head/share/man/man4/ddb.4
head/sys/kern/subr_turnstile.c
Modified: head/share/man/man4/ddb.4
==============================================================================
--- head/share/man/man4/ddb.4 Thu Aug 24 19:09:42 2017 (r322852)
+++ head/share/man/man4/ddb.4 Thu Aug 24 19:16:25 2017 (r322853)
@@ -60,7 +60,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd March 3, 2017
+.Dd August 24, 2017
.Dt DDB 4
.Os
.Sh NAME
@@ -782,7 +782,7 @@ Lock owner.
.It Ic show Cm lockchain Ar addr
Show all threads a particular thread at address
.Ar addr
-is waiting on based on non-sleepable and non-spin locks.
+is waiting on based on non-spin locks.
.\"
.Pp
.It Ic show Cm lockedbufs
@@ -960,8 +960,9 @@ Useful for long debugging sessions.
.\"
.Pp
.It Ic show Cm sleepchain
-Show all the threads a particular thread is waiting on based on
-sleepable locks.
+Deprecated.
+Now an alias for
+.Ic show Cm lockchain .
.\"
.Pp
.It Ic show Cm sleepq
Modified: head/sys/kern/subr_turnstile.c
==============================================================================
--- head/sys/kern/subr_turnstile.c Thu Aug 24 19:09:42 2017 (r322852)
+++ head/sys/kern/subr_turnstile.c Thu Aug 24 19:16:25 2017 (r322853)
@@ -157,9 +157,6 @@ static void init_turnstile0(void *dummy);
#ifdef TURNSTILE_PROFILING
static void init_turnstile_profiling(void *arg);
#endif
-#ifdef DDB
-static void print_sleepchain(struct thread *td, const char *prefix);
-#endif
static void propagate_priority(struct thread *td);
static int turnstile_adjust_thread(struct turnstile *ts,
struct thread *td);
More information about the svn-src-all
mailing list