[Intel-gfx] significant ioremap leak in i915?

Dave Airlie airlied at gmail.com
Sun Oct 12 12:23:06 CEST 2014


On 12 October 2014 19:28, Breton M. Saunders <brett at mynah-software.com> wrote:
> Guys,
>
>   This might be covered elsewhere, but help me come up to speed:  I am
> trying to analyze a leak in i915 that occurs on a digital sinage system that
> I've built.  The system basically is doing a lot of XCompositeRedirectWindow
> / glXBindTexImageEXT calls to render web views and mplayer output onto
> opengl textures for subsequent rendering.
>
>   In my testing, I observe that an enormous block is being lost in ioremap
> by looking at /proc/vmallocinfo:
>
> <snip>
> 0xffffc90000200000-0xffffc90010201000 268439552 pci_mmcfg_arch_map+0x33/0x90
> phys=e0000000 ioremap
> <snip>
> 0xffffc90010f80000-0xffffc90020f81000 268439552 i915_driver_load+0x20c/0x6d0
> [i915] phys=c0000000 ioremap
> <snip>
>
>   So in this example 268 megabytes have been lost.


This isn't RAM, its address space mapping, its not really a leak at all.

Dave.



More information about the Intel-gfx mailing list