>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? Andrew. To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-hackers" in the body of the message