From owner-svn-src-all@freebsd.org Thu Aug 24 19:16:26 2017 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AE5E5DE65BF; Thu, 24 Aug 2017 19:16:26 +0000 (UTC) (envelope-from cem@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7DD033A0F; Thu, 24 Aug 2017 19:16:26 +0000 (UTC) (envelope-from cem@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v7OJGPxf040966; Thu, 24 Aug 2017 19:16:25 GMT (envelope-from cem@FreeBSD.org) Received: (from cem@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v7OJGPfw040964; Thu, 24 Aug 2017 19:16:25 GMT (envelope-from cem@FreeBSD.org) Message-Id: <201708241916.v7OJGPfw040964@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: cem set sender to cem@FreeBSD.org using -f From: Conrad Meyer Date: Thu, 24 Aug 2017 19:16:25 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r322853 - in head: share/man/man4 sys/kern X-SVN-Group: head X-SVN-Commit-Author: cem X-SVN-Commit-Paths: in head: share/man/man4 sys/kern X-SVN-Commit-Revision: 322853 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Aug 2017 19:16:26 -0000 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);