Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jul 2007 14:09:46 +1200
From:      Andrew Thompson <thompsa@FreeBSD.org>
To:        FreeBSD Current <current@freebsd.org>
Subject:   USB memory leak
Message-ID:  <20070720020946.GA69737@heff.fud.org.nz>

next in thread | raw e-mail | index | archive | help
Hi,


On my up to date current box I am noticing memory leak complaints when
unload the usb module.

This is from a straight load/unload:

[dev7b]# kldload usb
uhci0: <Intel 82801AA (ICH) USB controller> port 0x1820-0x183f irq 11 at
device 31.2 on pci0
uhci0: [GIANT-LOCKED]
uhci0: [ITHREAD]
usb0: <Intel 82801AA (ICH) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0
uhub0: 2 ports with 2 removable, self powered
[dev7b]# kldunload usb
uhub0: detached
usb0: detached
uhci0: detached
Warning: memory type USBdev leaked memory on destroy (5 allocations,
2560 bytes leaked).
Warning: memory type USB leaked memory on destroy (13 allocations, 1248
bytes leaked).


FreeBSD dev7b.fud.org.nz 7.0-CURRENT FreeBSD 7.0-CURRENT #20: Thu Jul 19
20:42:41 NZST 2007     root@dev7b.fud.org.nz:/usr/obj/usr/src/sys/DEV7B
i386


cheers,
Andrew



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070720020946.GA69737>