From owner-freebsd-stable@FreeBSD.ORG Wed Mar 19 16:58:27 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1E2951065670 for ; Wed, 19 Mar 2008 16:58:27 +0000 (UTC) (envelope-from danny@ricin.com) Received: from smtpq2.tilbu1.nb.home.nl (smtpq2.tilbu1.nb.home.nl [213.51.146.201]) by mx1.freebsd.org (Postfix) with ESMTP id ABDAB8FC2A for ; Wed, 19 Mar 2008 16:58:26 +0000 (UTC) (envelope-from danny@ricin.com) Received: from [213.51.146.188] (port=48815 helo=smtp3.tilbu1.nb.home.nl) by smtpq2.tilbu1.nb.home.nl with esmtp (Exim 4.60) (envelope-from ) id 1Jc1cP-0004DD-IH for freebsd-stable@freebsd.org; Wed, 19 Mar 2008 17:58:25 +0100 Received: from [84.27.119.97] (port=51298 helo=desktop.homenet) by smtp3.tilbu1.nb.home.nl with smtp (Exim 4.60) (envelope-from ) id 1Jc1cP-0005TF-3K for freebsd-stable@freebsd.org; Wed, 19 Mar 2008 17:58:25 +0100 Received: by desktop.homenet (sSMTP sendmail emulation); Wed, 19 Mar 2008 17:57:09 +0100 From: "Danny Pansters" To: freebsd-stable@freebsd.org Date: Wed, 19 Mar 2008 17:57:09 +0100 User-Agent: KMail/1.9.7 References: <000e01c8885f$d78bc070$26714dd1@syix.com> <200803182309.46931.danny@ricin.com> <200803190928.29081.jhb@freebsd.org> In-Reply-To: <200803190928.29081.jhb@freebsd.org> X-Face: (Zs+'ncTcchkOX|~t6{?Iii=O!G#WEK!+OD0|-F=i%1pvP5V_Sz4PaJC8o)=?utf-8?q?MiSnH/JMJFy=0A=09oBN-My?=, v":S7, (=?utf-8?q?mmkPm=27U=7BMgT+eM=2EBd=5Cp/P!dr=5DhOTXqpse21O!=25Ct=60SE=2EOodq?= =?utf-8?q?=5Dry=5E=23kU=5E=0A=09-?=GT.[8D}i$6P>=" =?utf-8?q?=23=0A=09*J+4d=7E?= MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200803191757.09256.danny@ricin.com> X-Spam-Score: 0.0 (/) Subject: Re: +rtfree: 0xffffff0003635780 has 1 refs X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Mar 2008 16:58:27 -0000 On Wednesday 19 March 2008 14:28:28 John Baldwin wrote: > On Tuesday 18 March 2008 06:09:46 pm Danny Pansters wrote: > > On Monday 17 March 2008 20:55:01 Stefan Lambrev wrote: > > > Greetings Dave, > > > > > > Dave Overton wrote: > > > > I am new to the AMD64 stable branch, so forgive me if this has been > > > > beat to death, but I can't find why this message keeps occurring over > > > > and over all day. FreeBSD 7.0 Stable on AMD x2. It works (or seems > > > > to) fine. > > > > > > > > +rtfree: 0xffffff0003635780 has 1 refs > > > > > > check google for rtfree() used when RTFREE() needed .. or something > > > like this :) > > > Those messages are annoying but harmless. > > > > Harmless perhaps, but it still should be fixed, so if you don't see any > > similar PR already I'd suggest sending one. > > > > Has to do with certain variables being of one type but used as if it were > > another (e.g. int vs long) which on 64bit platforms as a band-aid > > gets "MSB-filled" with 0xf's to the proper size. So such warning pretty > > much means "fix your code". > > No. The value printed is a pointer and kernel pointers on amd64 are in the > upper range of the address space. The warning above has to do with code > that calls rtfree() vs. the RTFREE() macro. The macro inlines the the > common case (refs > 1) so in theory is cheaper than always doing a function > call. I stand corrected! Dan