From owner-svn-src-head@FreeBSD.ORG Thu Dec 18 15:25:34 2008 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 129021065673; Thu, 18 Dec 2008 15:25:34 +0000 (UTC) (envelope-from ivoras@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 0376E8FC12; Thu, 18 Dec 2008 15:25:34 +0000 (UTC) (envelope-from ivoras@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id mBIFPXNN044934; Thu, 18 Dec 2008 15:25:33 GMT (envelope-from ivoras@svn.freebsd.org) Received: (from ivoras@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id mBIFPXkN044933; Thu, 18 Dec 2008 15:25:33 GMT (envelope-from ivoras@svn.freebsd.org) Message-Id: <200812181525.mBIFPXkN044933@svn.freebsd.org> From: Ivan Voras Date: Thu, 18 Dec 2008 15:25:33 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r186285 - head/sys/kern X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Dec 2008 15:25:34 -0000 Author: ivoras Date: Thu Dec 18 15:25:33 2008 New Revision: 186285 URL: http://svn.freebsd.org/changeset/base/186285 Log: Remove spaces in wait object names to make top (1) output prettier and unbreak scripts that examine ps (1) output. Reviewed by: ed Approved by: gnn (mentor) Modified: head/sys/kern/tty.c Modified: head/sys/kern/tty.c ============================================================================== --- head/sys/kern/tty.c Thu Dec 18 15:12:04 2008 (r186284) +++ head/sys/kern/tty.c Thu Dec 18 15:25:33 2008 (r186285) @@ -871,10 +871,10 @@ tty_alloc(struct ttydevsw *tsw, void *sc tty_init_termios(tp); - cv_init(&tp->t_inwait, "tty input"); - cv_init(&tp->t_outwait, "tty output"); - cv_init(&tp->t_bgwait, "tty background"); - cv_init(&tp->t_dcdwait, "tty dcd"); + cv_init(&tp->t_inwait, "ttyinput"); + cv_init(&tp->t_outwait, "ttyoutput"); + cv_init(&tp->t_bgwait, "ttybackground"); + cv_init(&tp->t_dcdwait, "ttydcd"); ttyinq_init(&tp->t_inq); ttyoutq_init(&tp->t_outq); @@ -884,7 +884,7 @@ tty_alloc(struct ttydevsw *tsw, void *sc tp->t_mtx = mutex; } else { tp->t_mtx = &tp->t_mtxobj; - mtx_init(&tp->t_mtxobj, "tty lock", NULL, MTX_DEF); + mtx_init(&tp->t_mtxobj, "ttylock", NULL, MTX_DEF); } knlist_init(&tp->t_inpoll.si_note, tp->t_mtx, NULL, NULL, NULL);