From owner-svn-src-stable@freebsd.org Tue Dec 3 16:48:04 2019 Return-Path: Delivered-To: svn-src-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 01A0D1B5192 for ; Tue, 3 Dec 2019 16:48:04 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound3d.ore.mailhop.org (outbound3d.ore.mailhop.org [54.186.57.195]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47S7Fv4GcZz4bqp for ; Tue, 3 Dec 2019 16:48:03 +0000 (UTC) (envelope-from ian@freebsd.org) ARC-Seal: i=1; a=rsa-sha256; t=1575391682; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=PxPXEPjPTIT9kpT+ANYnOt2qk3bHbSFrvvj9q9cs8v4kzg31oiivjxD0MemBWJexQASEVWp+klpwW gGQibYBxr8NzkcUxpN14mmhf1hcdvgQiO/uilz/WjzkxNkLyyipSoB69/uTdnmYxi5QFNF4W378Gto BEGdBS3hH+EcZ6d+2TJe47znm+25MtleA5EVO+4KKjX41546/i4QrnvUFS9TGebJYrLtE2FIIniIK3 I5PhShH0fjtmBsjjIfJra6PFHNlT4uS64R3NkaGf3+ttnBww0Q+UmEjrl/R89UMxFXyJGEVRHXSkAc rgHW66aQk45DaC/MjG3jBq+c3kF0mjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=arc-outbound20181012; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:to:from:subject:message-id:dkim-signature:from; bh=fVScYyi6OOvqH/jbzWTFs83auAKgqy/7ruZ2m0sxJ0I=; b=oGrYQt96a8eiSYroQhwt/lhqHBJ8ayh2q9i8YvsRh+TxMlVB10Vx45E0WzyivfO+WqajKvIOPtfoE GYP2oHxcAhaeGzQlYxOFI2TrNPhU/X6gBignTicYdWvoNfOApxQl5gmDb4jUKPzdW/zS2UpA2yyo3/ ttE/XwmE07n/lthpQDbLDQeUzn+AKwsvJ1IbGhFgSOixf1alWX74nYTMexhm9RDXBjq8qXIgfQVFN3 b1sSsYuGcCYeC8pGeY+ZocJBWPMQKyoUv8u6udH1Z3sA2aKua2hbchK/XNktcBbpRWVeCixyMlOhBP 3mBTneAzr+uttZpYKqE53HhJCyeTBfg== ARC-Authentication-Results: i=1; outbound3.ore.mailhop.org; spf=softfail smtp.mailfrom=freebsd.org smtp.remote-ip=67.177.211.60; dmarc=none header.from=freebsd.org; arc=none header.oldest-pass=0; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=dkim-high; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:to:from:subject:message-id:from; bh=fVScYyi6OOvqH/jbzWTFs83auAKgqy/7ruZ2m0sxJ0I=; b=cFJeuh5zJaJlGf7hjHv3PhE8braZPJHq7O8uhsMoL9B0ye5JlGXllLFLgVIxNUDfy9fjynxt0tndP p/iHR27k2PwmGzcmD8Ncslgx22YrN09RZRQknX/Qm0f/Y5ikt9iOVIwMT0f5xb25Bo9pRBIgXToMrh /Xbf8OALDDmfiw3QqMYEUlZ2phN7mwlDeBPr+2RN8O35bW/MF56ZZFgpPH4/X4vnjO6ect8+EgIURb MfxihCgDypS/33t5SdrbMP9fEpaO2skM8drgS1NSWtmZ/0kjSGKx+9XAP77VPFru0ty1oMgU9U18em KLmRqgrxj2b1beyo11stqKWK61enqgA== X-MHO-RoutePath: aGlwcGll X-MHO-User: aa0acccf-15ec-11ea-b80c-052b4a66b6b2 X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 67.177.211.60 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [67.177.211.60]) by outbound3.ore.mailhop.org (Halon) with ESMTPSA id aa0acccf-15ec-11ea-b80c-052b4a66b6b2; Tue, 03 Dec 2019 16:48:00 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id xB3GlxRH000203; Tue, 3 Dec 2019 09:47:59 -0700 (MST) (envelope-from ian@freebsd.org) Message-ID: Subject: Re: svn commit: r355333 - stable/12/sys/cam From: Ian Lepore To: Alexander Motin , src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org Date: Tue, 03 Dec 2019 09:47:59 -0700 In-Reply-To: <201912031642.xB3GgXRD089746@repo.freebsd.org> References: <201912031642.xB3GgXRD089746@repo.freebsd.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5 FreeBSD GNOME Team Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 47S7Fv4GcZz4bqp X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-1.91 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-0.97)[-0.968,0]; ASN(0.00)[asn:16509, ipnet:54.186.0.0/15, country:US]; NEURAL_HAM_LONG(-0.94)[-0.943,0] X-BeenThere: svn-src-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for all the -stable branches of the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Dec 2019 16:48:04 -0000 On Tue, 2019-12-03 at 16:42 +0000, Alexander Motin wrote: > Author: mav > Date: Tue Dec 3 16:42:32 2019 > New Revision: 355333 > URL: https://svnweb.freebsd.org/changeset/base/355333 > > Log: > MFC r341756 (by scottl): > Don't allocate the config_intrhook separately from the softc, it's > small > enough that it costs more code to handle the malloc/free than it > saves. > If it's a situation where the called hook routine always does a disestablish of the hook (and nothing else does so), just use config_intrhook_oneshot() and you don't need to manage the data struct yourself at all. -- Ian