From owner-svn-src-all@FreeBSD.ORG Tue Mar 18 22:22:48 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 98D5FFF8; Tue, 18 Mar 2014 22:22:48 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 856668DB; Tue, 18 Mar 2014 22:22:48 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s2IMMmR7081930; Tue, 18 Mar 2014 22:22:48 GMT (envelope-from ray@svn.freebsd.org) Received: (from ray@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s2IMMmOM081929; Tue, 18 Mar 2014 22:22:48 GMT (envelope-from ray@svn.freebsd.org) Message-Id: <201403182222.s2IMMmOM081929@svn.freebsd.org> From: Aleksandr Rybalko Date: Tue, 18 Mar 2014 22:22:48 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r263321 - head/sys/dev/vt X-SVN-Group: head 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.17 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: Tue, 18 Mar 2014 22:22:48 -0000 Author: ray Date: Tue Mar 18 22:22:47 2014 New Revision: 263321 URL: http://svnweb.freebsd.org/changeset/base/263321 Log: Switch kern.vt.suspendswitch to 0 by default (disabled). kern.vt.suspendswitch - sysctl/tunable which enable switch to VT0 before going to suspend and switch back after resume. MFC after: 7 days Modified: head/sys/dev/vt/vt_core.c Modified: head/sys/dev/vt/vt_core.c ============================================================================== --- head/sys/dev/vt/vt_core.c Tue Mar 18 22:07:45 2014 (r263320) +++ head/sys/dev/vt/vt_core.c Tue Mar 18 22:22:47 2014 (r263321) @@ -118,7 +118,7 @@ static SYSCTL_NODE(_kern, OID_AUTO, vt, VT_SYSCTL_INT(enable_altgr, 1, "Enable AltGr key (Do not assume R.Alt as Alt)"); VT_SYSCTL_INT(debug, 0, "vt(9) debug level"); VT_SYSCTL_INT(deadtimer, 15, "Time to wait busy process in VT_PROCESS mode"); -VT_SYSCTL_INT(suspendswitch, 1, "Switch to VT0 before suspend"); +VT_SYSCTL_INT(suspendswitch, 0, "Switch to VT0 before suspend"); static unsigned int vt_unit = 0; static MALLOC_DEFINE(M_VT, "vt", "vt device");