看板 DFBSD_bugs 關於我們 聯絡資訊
Alex Hornung <ahornung@gmail.com> added the comment: M_DEVBUF is used almost everywhere, it is a nightmare to find out what is actually leaking memory. While overhauling vn I looked at devbuf's vmstat after every mkinitrd and it kept increasing, one leak at a time. To verify that it wasn't vn, I changed the malloc type for the vn allocations to a different one and the leak is still there. So something probably somewhere in the disk i/o path using M_DEVBUF is leaking memory, too. To reproduce just keep an eye on devbuf's allocations while running mkinitrd a few times. Cheers, Alex Hornung _____________________________________________________ DragonFly issue tracker <bugs@lists.dragonflybsd.org> <http://bugs.dragonflybsd.org/issue1884> _____________________________________________________