From owner-svn-src-all@FreeBSD.ORG Mon Mar 30 16:40:20 2015 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.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 582AFD14; Mon, 30 Mar 2015 16:40:20 +0000 (UTC) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2BF19D0C; Mon, 30 Mar 2015 16:40:20 +0000 (UTC) Received: from ralph.baldwin.cx (pool-173-54-116-245.nwrknj.fios.verizon.net [173.54.116.245]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id CDA9EB95D; Mon, 30 Mar 2015 12:40:18 -0400 (EDT) From: John Baldwin To: Davide Italiano Subject: Re: svn commit: r280785 - in head/sys: kern netgraph/atm/sscop netgraph/atm/uni sys Date: Mon, 30 Mar 2015 12:10:07 -0400 Message-ID: <3218826.nq4nR2EqCz@ralph.baldwin.cx> User-Agent: KMail/4.14.2 (FreeBSD/10.1-STABLE; KDE/4.14.2; amd64; ; ) In-Reply-To: References: <201503281250.t2SCoOkt020297@svn.freebsd.org> <4E7E0A0A-5125-4F3A-AC0C-D428A972C954@netflix.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Mon, 30 Mar 2015 12:40:18 -0400 (EDT) Cc: "svn-src-head@freebsd.org" , "svn-src-all@freebsd.org" , "src-committers@freebsd.org" , Randall Stewart X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18-1 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: Mon, 30 Mar 2015 16:40:20 -0000 On Saturday, March 28, 2015 01:48:49 PM Davide Italiano wrote: > On Sat, Mar 28, 2015 at 12:04 PM, Randall Stewart w= rote: > > Hmm does the KPI include the size of the callout structure (which i= s > > private)? > > >=20 > It's KBI, not KPI. >=20 > > If so I suppose we could change the c_flags/c_iflags to > > ushort =E2=80=A6 > > >=20 > I'm not familiar with your changes enough to suggest/propose a fix. > As I previously mentioned, this looks suspicious KBI-wise to me, and = I > reported to you. The KBI issue makes it much harder to MFC. In particular, even though you could move 'c_iflags' to the end to fix most things (though not callout_pending()), many drivers have 'struct callout foo' inside their= softc, etc. and this would break existing modules. OTOH, the uglier hack of adding locking in callout_deactivate() would preserve the KBI and be safe to merge. --=20 John Baldwin