> 
> 
> >I've got a problem that my KLD is "leaking" wired memory.
> >
> >It's not actually growing in size, vmstat -m shows a fairly constant
> allocation, >and certainly "high" isn't increasing. It's just that as I use it
> more, and more >memory gets wired down, and the system becomes unusable.
> [blah]
> 
> Just for the archives, it was, predictably, a memory leak after all. My 
> _vnops.c
> wasn't freeing the cn_pnbuf.
> 
> Why Oh Why(tm) is everything else freed for you, but the path buffer is left 
> to
> the poor, confused, FS to free?

Because you may have reallocated it yourself (eg. following a symbolic 
link type object).  At least, that's the only justification I've come 
up with.

-- 
\\  The mind's the standard       \\  Mike Smith
\\  of the man.                   \\  msm...@freebsd.org
\\    -- Joseph Merrick           \\  msm...@cdrom.com




To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to