[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20090807102528.e4af0c21.kamezawa.hiroyu@jp.fujitsu.com>
Date: Fri, 7 Aug 2009 10:25:28 +0900
From: KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>
To: Avi Kivity <avi@...hat.com>
Cc: Wu Fengguang <fengguang.wu@...el.com>,
"Dike, Jeffrey G" <jeffrey.g.dike@...el.com>,
Rik van Riel <riel@...hat.com>,
"Yu, Wilfred" <wilfred.yu@...el.com>,
"Kleen, Andi" <andi.kleen@...el.com>,
Andrea Arcangeli <aarcange@...hat.com>,
Hugh Dickins <hugh.dickins@...cali.co.uk>,
Andrew Morton <akpm@...ux-foundation.org>,
Christoph Lameter <cl@...ux-foundation.org>,
KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>,
Mel Gorman <mel@....ul.ie>,
LKML <linux-kernel@...r.kernel.org>,
linux-mm <linux-mm@...ck.org>
Subject: Re: [RFC] respect the referenced bit of KVM guest pages?
On Thu, 06 Aug 2009 13:14:09 +0300
Avi Kivity <avi@...hat.com> wrote:
> On 08/06/2009 12:59 PM, Wu Fengguang wrote:
> >> Do we know for a fact that only stack pages suffer, or is it what has
> >> been noticed?
> >>
> >
> > It shall be the first case: "These pages are nearly all stack pages.",
> > Jeff said.
> >
>
> Ok. I can't explain it. There's no special treatment for guest stack
> pages. The accessed bit should be maintained for them exactly like all
> other pages.
>
> Are they kernel-mode stack pages, or user-mode stack pages (the
> difference being that kernel mode stack pages are accessed through large
> ptes, whereas user mode stack pages are accessed through normal ptes).
>
Hmm, finally, memcg's problem ?
just as an experiment, how following works ?
- memory.limit_in_bytes = 128MB
- memory.memsw.limit_in_bytes = 160MB
By this, if mamory+swap usage hits 160MB, no swap more.
But plz take care of OOM.
THanks,
-Kame
--
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