[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20090227153149.154B.A69D9226@jp.fujitsu.com>
Date: Fri, 27 Feb 2009 15:37:05 +0900 (JST)
From: KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>
To: Lukas Hejtmanek <xhejtman@....muni.cz>
Cc: kosaki.motohiro@...fujitsu.com,
Wu Fengguang <fengguang.wu@...el.com>,
linux-kernel@...r.kernel.org, intel-gfx@...ts.freedesktop.org,
jbarnes@...tuousgeek.org, eric@...olt.net
Subject: Re: [Bug #12210] 2.6.28-rc8 big regression in VM
Hi,
> Hello,
>
> you may remember that I reported regression in VM. I used you filecache module
> and discovered that the leaks are caused by these items:
> # filecache 1.0
> # ino size cached cached% refcnt state dev file
> 167302 16 16 100 1 d- 00:08(tmpfs) /drm\040mm\040object\040(deleted)
> 167301 16 16 100 1 d- 00:08(tmpfs) /drm\040mm\040object\040(deleted)
> 167300 16 16 100 1 d- 00:08(tmpfs) /drm\040mm\040object\040(deleted)
> 167299 4 4 100 1 -- 00:08(tmpfs) /drm\040mm\040object\040(deleted)
> 167290 8 8 100 1 -- 00:08(tmpfs) /drm\040mm\040object\040(deleted)
> 167289 8 8 100 1 -- 00:08(tmpfs) /drm\040mm\040object\040(deleted)
> 167288 16 16 100 1 -- 00:08(tmpfs) /drm\040mm\040object\040(deleted)
> 167287 16 16 100 1 d- 00:08(tmpfs) /drm\040mm\040object\040(deleted)
>
> there are tons of those items:
> cat /proc/filecache | grep drm | wc -l
> 14224
>
> Do you have any clues what happens here? Is it a bug in kernel VM system or it
> is more likely a bug in Intel's GEM drm driver? Right now it results in 500MB
> of undropable cache.
>
> Also lsof reports many leaked file descriptors:
> lsof | grep drm | wc -l
> 7326
lsof output indicate any process don't close this files.
I would like to hear drm driver developer's opinion.
if many mapped file is unclosed, it seems misdesigned memory wasting.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists