[vbox-dev] False kmemleak positives from VB

Alexey Eromenko al4321 at gmail.com
Mon Mar 23 17:30:03 GMT 2015


maybe a patch belongs to "kmemleak" ? If no problem with VBox, nothing to
fix.

On Mon, Mar 23, 2015 at 6:50 PM, Larry Finger <Larry.Finger at lwfinger.net>
wrote:

> I just reconfigured my kernel to include kmemleak to check the drivers
> that I maintain for memory leaks. I was quite surprised to discover several
> thousand items arising from vboxdrv in the scan of possible leaks. The VB
> version is 4.3.26. All of the VB entries are false positives as they
> disappear from the kmemleak scan when the VB modules are unloaded.
>
> I do not recall these false positives as appearing in earlier versions of
> VB, but my memory may be faulty. In any case, a one-line patch to inform
> kmemleak that the offending allocation should be ignored is attached.  The
> patch carries an MIT license.
>
> Thanks,
>
> Larry
>
> _______________________________________________
> vbox-dev mailing list
> vbox-dev at virtualbox.org
> https://www.virtualbox.org/mailman/listinfo/vbox-dev
>
>


-- 
-Alexey Eromenko "Technologov"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20150323/1556c546/attachment.html>


More information about the vbox-dev mailing list