kmem leakage on tun/tap device removal

2010-02-27 Thread Mikolaj Golub
Hi, Recently I run some tests, which create/destroy tun interface in loop, and after several hours my system panicked with "kmem_map too small". It has appeared that tun (or tap) device does not free memory after the device destroy: zhuzha:/usr/src/sys/kern% sudo vmstat -m |grep 'Type\|DEVFS1'

Re: kmem leakage on tun/tap device removal

2010-02-27 Thread Kostik Belousov
On Sat, Feb 27, 2010 at 11:21:17AM +0200, Mikolaj Golub wrote: > Hi, > > Recently I run some tests, which create/destroy tun interface in loop, and > after several hours my system panicked with "kmem_map too small". It has > appeared that tun (or tap) device does not free memory after the device >