From owner-freebsd-current@FreeBSD.ORG Wed Sep 24 05:26:30 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C0223106568C; Wed, 24 Sep 2008 05:26:30 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) Received: from 0.mx.codelabs.ru (0.mx.codelabs.ru [144.206.177.45]) by mx1.freebsd.org (Postfix) with ESMTP id 5DB6C8FC2C; Wed, 24 Sep 2008 05:26:30 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) DomainKey-Signature: a=rsa-sha1; q=dns; c=simple; s=one; d=codelabs.ru; h=Received:Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:Sender; b=VvPAclJ/ORzGcKSJHpOuoUkW2CYS/3jaKv4/gZSxRiBQeKJ/9GZDjiMIy8DQIX3q1FZ+E8LFQPSjb8QtFIUemxv1eWQEOpPS8XKGHU4ozpRqU29Ra7LYCImO/kez4lzWfQuY6cVcIW7PnsF4OjSBzZfFu6w8v7rhVOhwEmld/xI=; Received: from void.codelabs.ru (void.codelabs.ru [144.206.177.25]) by 0.mx.codelabs.ru with esmtpsa (TLSv1:AES256-SHA:256) id 1KiMtQ-000DUC-BO; Wed, 24 Sep 2008 09:26:28 +0400 Date: Wed, 24 Sep 2008 09:26:26 +0400 From: Eygene Ryabinkin To: Maksim Yevmenkin Message-ID: References: <20080917161633.9E2F717101@shadow.codelabs.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Q8BnQc91gJZX4vDc" Content-Disposition: inline In-Reply-To: Sender: rea-fbsd@codelabs.ru Cc: rik@freebsd.org, ed@freebsd.org, current@freebsd.org, bug-followup@freebsd.org Subject: Re: kern/127446: [patch] fix race in sys/dev/kbdmux/kbdmux.c X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Sep 2008 05:26:30 -0000 --Q8BnQc91gJZX4vDc Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Good day. Tue, Sep 23, 2008 at 02:02:50PM +0400, Eygene Ryabinkin wrote: > The attached patch was tested on two 7.1-PRERELEASE systems (i386 and > amd64, both with and without X), on 7.0-STABLE and 7.0-RELEASE-p3 (i386, > only console, no X) and on rather old 8-CURRENT from Jul 1, syscons.c > revision 1.459 (amd64 both with and without X). Works fine for me. >=20 > 8.x needs slightly modified patch due to the naming changes. Also > attached it. Will try a fresher -CURRENT in some hours: Ed did massive > changes due to the MPSAFE tty layer, so may be this patch won't be > needed for the modern 8-CURRENT. Tested the patches on the 8-CURRENT from yesterday: system is stable, no side effects both in console and X. As the bonus, I had noticed that the strange keyboard behaviour that I used to see on my laptop is disappeared. The effect was the following: after some hours of laptop inactivity, keyboard input was slow as if a delay of about a second was introduced between keyboard clicks. I had this only on console, X worked fine. But now, after 12 hours of laptop inactivity, all works fine, no delays. May be this is due to the locking changes introduced by the current patches. --=20 Eygene _ ___ _.--. # \`.|\..----...-'` `-._.-'_.-'` # Remember that it is hard / ' ` , __.--' # to read the on-line manual =20 )/' _/ \ `-_, / # while single-stepping the kernel. `-'" `"\_ ,_.-;_.-\_ ', fsc/as # _.-'_./ {_.' ; / # -- FreeBSD Developers handbook=20 {_.-``-' {_/ # --Q8BnQc91gJZX4vDc Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkjZz4IACgkQthUKNsbL7YgRWACgq173xE1Gm/gB2rN+nx+vOJfv q5kAnRlvnqMvLHd9lcvSE+5ZQB7zHm9y =zNYs -----END PGP SIGNATURE----- --Q8BnQc91gJZX4vDc--