Date: Mon, 05 Aug 1996 22:05:14 +0000 From: Gary Jennejohn <garyj@munich.netsurf.de> To: Michael Smith <msmith@atrad.adelaide.edu.au> Cc: freebsd-current@freebsd.org Subject: Re: question about grinding system (Linux guru attn. reqd) Message-ID: <199608052205.WAA00720@peedub.gj.org> In-Reply-To: Your message of "Mon, 05 Aug 1996 14:14:02 %2B0930." <199608050444.OAA10882@genesis.atrad.adelaide.edu.au>
next in thread | previous in thread | raw e-mail | index | archive | help
Michael Smith writes: > >I've just been watching this slowly-dying -current system trying to find >something that looks wrong, and I think I have something. > >Watching the output of vmstat -m, I notice that the numbers for the >'temp' category keep growing, and that there's about 8M allocated to it >at this point in time. > >Following this and the suspicion that the problem is linux-emulation related >I went looking for M_TEMP allocations in i386/linux, and I'd like someone >who's better qualified than I to look over the exit conditions in >linux_emul_find() in linux_util.c because I'm fairly sure that it's >possible for this function to return without freeing its buffer, >and this would lead to the sort of leak that I'm seeing. > >Naturally, I'll try to test this as soon as I get a chance, but I'd >appreciate any comments. > sure looks like the places where a "goto done" happens fail to free the buffer. --- Gary Jennejohn Home - Gary.Jennejohn@munich.netsurf.de Work - gjennejohn@frt.dec.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199608052205.WAA00720>