From owner-freebsd-current@FreeBSD.ORG Tue Mar 13 21:48:24 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BB2E316A402; Tue, 13 Mar 2007 21:48:24 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 9D83E13C44B; Tue, 13 Mar 2007 21:48:24 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 6CE751A4D88; Tue, 13 Mar 2007 14:48:24 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 9D0B95132C; Tue, 13 Mar 2007 17:48:23 -0400 (EDT) Date: Tue, 13 Mar 2007 17:48:23 -0400 From: Kris Kennaway To: Julian Elischer Message-ID: <20070313214823.GA13287@xor.obsecurity.org> References: <45F388D4.2080900@elischer.org> <45F45172.8070601@elischer.org> <86r6rt6z27.fsf@dwp.des.no> <45F706A2.5020106@elischer.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IJpNTDwzlM2Ie8A6" Content-Disposition: inline In-Reply-To: <45F706A2.5020106@elischer.org> User-Agent: Mutt/1.4.2.2i Cc: Dag-Erling Sm?rgrav , FreeBSD Current , kmacy@FreeBSD.org Subject: LOCK_PROFILING variant struct sizes (Re: netstat wierdness?) 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: Tue, 13 Mar 2007 21:48:24 -0000 --IJpNTDwzlM2Ie8A6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Mar 13, 2007 at 01:16:34PM -0700, Julian Elischer wrote: > Dag-Erling Sm?rgrav wrote: > >Julian Elischer writes: > >>answering myself.. > >>comes from having options LOCK_PROFILING in my kernel. > >>adding the same to /etc/make.conf and recompiling netstat and libkvm=20 > >>helped. > >>(not sure if both are needed) > > > >This is very bad. LOCK_PROFILING should have no visible effect on > >userland. That is precisely what xinpcb, xunpcb, xtcpcb etc. are for: > >to isolate userland from kernel structures. They should not contain > >any locks or anything else which would be affected by LOCK_PROFILING > >or other kernel options. > > > >DES >=20 > sockstat actually told me that all those were the wrong size, so apparent= ly > they change size too.(!?) >=20 > I haven't gone to look at their definition yet, but as you say, it sounds= =20 > like > something was done wrong. Kip made some changes to this recently, perhaps he can comment. Kris --IJpNTDwzlM2Ie8A6 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFF9xwnWry0BWjoQKURAsmCAKDYsPPZUq7UKQdfe9/PQW6nDfT2OgCfdukS KEuPUbFzun9jmpGB8T6XmCw= =BnUH -----END PGP SIGNATURE----- --IJpNTDwzlM2Ie8A6--