Date: Wed, 19 Mar 2008 09:28:28 -0400 From: John Baldwin <jhb@freebsd.org> To: freebsd-stable@freebsd.org Cc: Danny Pansters <danny@ricin.com> Subject: Re: +rtfree: 0xffffff0003635780 has 1 refs Message-ID: <200803190928.29081.jhb@freebsd.org> In-Reply-To: <200803182309.46931.danny@ricin.com> References: <000e01c8885f$d78bc070$26714dd1@syix.com> <47DECC95.2030608@moneybookers.com> <200803182309.46931.danny@ricin.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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. -- John Baldwin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803190928.29081.jhb>