From owner-svn-src-head@freebsd.org Tue Jul 5 23:03:03 2016 Return-Path: Delivered-To: svn-src-head@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 C5C1DB7184C; Tue, 5 Jul 2016 23:03:03 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-pf0-x232.google.com (mail-pf0-x232.google.com [IPv6:2607:f8b0:400e:c00::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 929121C82; Tue, 5 Jul 2016 23:03:03 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: by mail-pf0-x232.google.com with SMTP id c2so74185214pfa.2; Tue, 05 Jul 2016 16:03:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:from:in-reply-to:date:cc:message-id:references :to; bh=pYqZLEqGp6dh4z7fQ6j/jbyIX7q6i98rPXst+H+ZR90=; b=oCrtggFZaiJZYfwSDmdlPzdGAHt9lziHML/3PXVdPlPARbhHZ+H5BlVuN/OnSntLv4 MhW343PxLlck3Ddk5V21Rm2gB9T+6yTEN00puiffEBp9qHfuxxnyOri4mFK3s3Vfd23N qKQzQe5CSy9QpHoOBKvNfRmZtbSmF611cgpbQwH3ZeOq/lK1kIST9OGcbUQXQnguGyzo r93nxLjuPBIGr+dXW2kmZwMr6RnNqAeR8rddGGcrs1ccpwryomQNdvUZw7YlXdVFxep6 CACDUHIMLhtQSFYjo4TfdKZPLik578PNECn6xblSDGlrhDVlzMCoCIWNttsANfxz1F2q pdAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:mime-version:from:in-reply-to:date:cc :message-id:references:to; bh=pYqZLEqGp6dh4z7fQ6j/jbyIX7q6i98rPXst+H+ZR90=; b=Muoy8Gd3xkkVNW/T3qr5q18CWT9v0FY/yrliEHMt2cfOukCl6PysUXhtEA+OvHiDpq TyMZlVdtcA7D3TWaPqy+VcQWTVSVJicc0P5Sxxf78Sih8Yeshhhs2zKGZBnTtf/m2eGs 57ZsmDsSXlgXRxhEFKIMrZ6qndAT8W7svnHJ+vAJNJLAtM6pF920eIFidEwTtmdQ5bF9 9yFOe16wpBF4S9iG8rYLSQBuYnLWZBPPN96cDCZYBWjci94DbtGI9ucTyo/6hIY81alh 5nIOLI5RW+51DDjzpxBfn3niZ4dDxttaeKLWt7TRsLzvmdXoAui1wbiH9fv3Nwfzf+a6 qIKg== X-Gm-Message-State: ALyK8tJnhqnmcE5Z/jOVOK7gp+2n7IZuyUNiJ7TQ5zbTX+s5BbQdXHH3EezxOxnSndCQNg== X-Received: by 10.98.0.83 with SMTP id 80mr36452206pfa.0.1467759782925; Tue, 05 Jul 2016 16:03:02 -0700 (PDT) Received: from [192.168.100.143] ([199.231.240.59]) by smtp.gmail.com with ESMTPSA id br6sm6308181pac.0.2016.07.05.16.03.00 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 05 Jul 2016 16:03:02 -0700 (PDT) Subject: Re: svn commit: r302328 - in head/sys: kern sys Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Content-Type: multipart/signed; boundary="Apple-Mail=_78F091A8-40F8-49B6-BA14-68BBF36D0336"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Pgp-Agent: GPGMail 2.6b2 From: "Ngie Cooper (yaneurabeya)" In-Reply-To: <20160705200552.Y1821@besplex.bde.org> Date: Tue, 5 Jul 2016 16:02:46 -0700 Cc: Konstantin Belousov , src-committers , svn-src-all@freebsd.org, svn-src-head@freebsd.org Message-Id: References: <201607031819.u63IJm79075708@repo.freebsd.org> <20160705200552.Y1821@besplex.bde.org> To: Bruce Evans X-Mailer: Apple Mail (2.3124) X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.22 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: Tue, 05 Jul 2016 23:03:03 -0000 --Apple-Mail=_78F091A8-40F8-49B6-BA14-68BBF36D0336 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On Jul 5, 2016, at 03:08, Bruce Evans wrote: >=20 > On Sun, 3 Jul 2016, Konstantin Belousov wrote: >=20 > This is mostly a test reply (replying to src-committers has stopped > working for newer commits). >=20 >> Log: >> Provide helper macros to detect 'non-silent SBDRY' state and to >> calculate appropriate return value for stops. Simplify the code by >> using them. >>=20 >> Fix typo in sig_suspend_threads(). The thread which sleep must be >> aborted is td2. (*) >>=20 >> In issignal(), when handling stopping signal for thread in >> TD_SBDRY_INTR state, do not stop, this is wrong and fires assert. >> This is yet another place where execution should be forced out of >> SBDRY-protected region. For such case, return -1 from issignal() and >> translate it to corresponding error code in sleepq_catch_signals(). >> Assert that other consumers of cursig() are not affected by the new >> return value. (*) >>=20 >> Micro-optimize, mostly VFS and VOP methods, by avoiding calling the >> functions when SIGDEFERSTOP_NOP non-change is requested. (**) >>=20 >> Reported and tested by: pho (*) >> Requested by: bde (**) >> Sponsored by: The FreeBSD Foundation >> MFC after: 2 weeks >> Approved by: re (gjb) >=20 > Thanks, but this is still very slow (even slower than beore the > micro-optimization). Could you please bump __FreeBSD_version ? This change broke = emulators/open-vm-tools from pkg.FreeBSD.org , so it needs to be = rebuilt. Thanks, -Ngie $ sudo service vmware-kmod start Loading vmmemctl kernel module: already loaded. Loading vmxnet kernel module: already loaded. Loading vmblock kernel module: failed. Cannot 'start' vmware_guest_vmhgfs. Set vmware_guest_vmhgfs_enable to = YES in /etc/rc.conf or use 'onestart' instead of 'start'. $ tail -n 3 /var/log/messages Jul 5 15:59:03 fbsd11 fetch: gethostby*.getanswer: asked for = "mirror.easthsia.com IN AAAA", got type "A" Jul 5 16:01:43 fbsd11 kernel: link_elf_obj: symbol sigdeferstop = undefined Jul 5 16:01:43 fbsd11 kernel: linker_load_file: Unsupported file type --Apple-Mail=_78F091A8-40F8-49B6-BA14-68BBF36D0336 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQIcBAEBCgAGBQJXfDyWAAoJEPWDqSZpMIYVDG8P/3R8XdRh5swGYWQVDCHykNwB E8yFBoUedMSkSoyHoLW4Zjcn+goFDFctgQGewQlTxGoqBPFv/5QpnjHALmc9dF3s NG6QWaEVpNoVW1ZKBVLHdcRlvzTTHrkWKdokqQQYez/2oKQ7Svs3C2VqToMrkTly 7Gdg6EUol68Zoha/EI3EP7t0590IrxkPi0tZFxcfqCbbZNPAZG36r/23oCQqubLA pSisv6JcXqLUbBgiUd6IcVNXp9q7aZ2HZEDCmm/Be8DVTUUo6KTc0FJOas8M6usY EeBRv8/RZiZNYbIOudWHw2mJfPVA4X9t50c0xQgn5OhTAsZEpXZ4ztsAhfjYcZp8 XBwPmpThC9gSvgWiOjkgi9GxKL37qwwbFpbXx7sIavsafqLaU1Kj5k/CVyLugatT +4jekgpiOiPlJyBARCN7YRU3XJQHsRNu+nLteDp5bUDnCLHhmRALPTksuLvGmDsV RwLluI8a2keq8R8L1JsLw4y8W6aOwufMQCB9HDRb/hEUHcEDFggCdBbJ9LkNveYK buDO4PZIwjkPIj8g1iFnL65wNfh/iZMV5zxiBKmo/wKFZ0+gDVg2uG5n66dYEA3J R8l0CJ342Wqw8a8cABWwb3/utUcnsn9NG5fvprpK18ajmRNUmZwc2K6BW5r6aiy9 FRgiLe9gJTWb4AIlkFqx =jVft -----END PGP SIGNATURE----- --Apple-Mail=_78F091A8-40F8-49B6-BA14-68BBF36D0336--