Re: significant ioremap leak in i915?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/10/14 11:23, Dave Airlie wrote:
On 12 October 2014 19:28, Breton M. Saunders <brett@xxxxxxxxxxxxxxxxxx> 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.
It really doesn't matter whether it is ram or mapping; its a resource leak that causes the system to OOM and panic.

    -Brett
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux