[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090704012754.GC3910@wwang29-mobl1.ccr.corp.intel.com>
Date: Sat, 4 Jul 2009 09:27:54 +0800
From: Roger WANG <roger.wang@...el.com>
To: Jesse Barnes <jbarnes@...tuousgeek.org>
Cc: "Wu, Fengguang" <fengguang.wu@...el.com>,
Peter Zijlstra <peterz@...radead.org>,
Andrew Morton <akpm@...ux-foundation.org>,
LKML <linux-kernel@...r.kernel.org>,
Rik van Riel <riel@...hat.com>,
"linux-mm@...ck.org" <linux-mm@...ck.org>,
Mel Gorman <mel@....ul.ie>,
Christoph Lameter <cl@...ux-foundation.org>,
KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>,
"hannes@...xchg.org" <hannes@...xchg.org>,
"tytso@....edu" <tytso@....edu>,
"elladan@...imo.com" <elladan@...imo.com>,
"npiggin@...e.de" <npiggin@...e.de>,
"minchan.kim@...il.com" <minchan.kim@...il.com>
Subject: Re: [PATCH 0/3] make mapped executable pages the first class
citizen
Hello Jesse,
On Sat, 2009-06-20 at 00:43 +0800 Jesse Barnes wrote:
> On Fri, 19 Jun 2009 17:32:24 +0800
> Wu Fengguang <fengguang.wu@...el.com> wrote:
>
> > On Fri, Jun 19, 2009 at 05:04:49PM +0800, Peter Zijlstra wrote:
> > > On Fri, 2009-06-19 at 17:00 +0800, Wu, Fengguang wrote:
> > > > [add CC]
> > > >
> > > > This OOM case looks like the same bug encountered by David
> > > > Howells.
> > > >
> > > > > Jun 18 07:44:53 jbarnes-g45 kernel: [64377.426766]
> > > > > Active_anon:290797 active_file:28 inactive_anon:97034 Jun 18
> > > > > 07:44:53 jbarnes-g45 kernel: [64377.426767] inactive_file:61
> > > > > unevictable:11322 dirty:0 writeback:0 unstable:0 Jun 18
> > > > > 07:44:53 jbarnes-g45 kernel: [64377.426768] free:3341
> > > > > slab:13776 mapped:5880 pagetables:6851 bounce:0
> > > >
> > > > active/inactive_anon pages take up 4/5 memory. Are you using
> > > > TMPFS a lot?
> > >
> > > I suspect its his GEM thingy ;-)
> >
> > Very likely - GEM allocates drm objects from the internal tmpfs,
> > and libdrm_intel seems to never free drm objects from its cache.
>
> Yeah, a good chunk of that is GEM objects. I generally haven't seen
> OOMs due to excessive GEM allocation though, until recently. We've got
> some patches queued up to manage the object cache better (actually free
> pages when we don't need them!), so that should help.
Could you please point me to those patches so I can try them here? I
have to kill my X once per day.
Thanks
--Roger
>
> --
> Jesse Barnes, Intel Open Source Technology Center
--
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