login
Header Space

 
 

Re: -mm merge plans for 2.6.26 (memcgroup)

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Andrew Morton <akpm@...>
Cc: Paul Menage <menage@...>, Balbir Singh <balbir@...>, Pavel Emelianov <xemul@...>, KAMEZAWA Hiroyuki <kamezawa.hiroyu@...>, Shi Weihua <shiwh@...>, Mel Gorman <mel@...>, <linux-kernel@...>
Date: Sunday, April 20, 2008 - 7:51 pm

On Sun, 20 Apr 2008, Andrew Morton wrote:

A couple of comments on memcgroup patches in your
high-priority initial section (I've not studied further yet)


If those are to go in, then the sooner the better, yes.

But though I argued for cgroup_disable=memory (or some such),
I think myself that taking it even further now (requiring an
additional cgroup_enable=memory at boottime to get the memcg
stuff you chose with CGROUP_MEM_RES_CTLR=y at build time) is
confusing overkill, just messing around.

Others think differently.  A compromise would be to improve the
helptext for CGROUP_MEM_RES_CTLR (some of it is presently nonsense,
isn't it?  Certainly there's a significant overhead, but it's the
32-bit struct page not the 64-bit which then suffers from crossing
cacheline boundaries).  Not much point in mentioning
cgroup_disable=memory if those patches go in, but needs to say
cgroup_enable=memory bootoption also needed.


No, it was a good find from Shi, but you were right to think the patch
fishy, and Kame put in lots of work (thank you!) to identify the actual
culprit: he and Mel are discussing what the actual fix should be; and
we might want to choose a different fix for stable than for 2.6.26.

I think you should drop that memmap_init_zone patch: the cgroup
pointer is not the only field we assume is zeroed, both flags and
mapping can cause trouble if they were not originally zeroed.
Re-zero the whole struct page?  No, far better to fix the
root of the corruption, that Kame and Mel are working on.

Hugh
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
-mm merge plans for 2.6.26, Andrew Morton, (Sun Apr 20, 10:20 am)
Re: -mm merge plans for 2.6.26, Randy Dunlap, (Fri May 16, 8:03 pm)
Re: -mm merge plans for 2.6.26, Andrew Morton, (Fri May 16, 8:28 pm)
Re: -mm merge plans for 2.6.26, Randy Dunlap, (Fri May 16, 10:07 pm)
Re: -mm merge plans for 2.6.26, Randy Dunlap, (Sat May 17, 12:30 am)
Re: -mm merge plans for 2.6.26, Randy Dunlap, (Mon May 19, 4:26 pm)
Re: -mm merge plans for 2.6.26, Andrew Morton, (Mon May 19, 4:38 pm)
Re: -mm merge plans for 2.6.26, Sam Ravnborg, (Mon May 19, 4:44 pm)
Re: -mm merge plans for 2.6.26, Andrew Morton, (Fri May 23, 4:05 am)
Re: -mm merge plans for 2.6.26 (memcgroup), Hugh Dickins, (Sun Apr 20, 7:51 pm)
Re: -mm merge plans for 2.6.26 (memcgroup), KAMEZAWA Hiroyuki, (Sun Apr 20, 8:30 pm)
Re: -mm merge plans for 2.6.26 (memcgroup), Andrew Morton, (Mon Apr 21, 2:24 am)
Re: -mm merge plans for 2.6.26, Jiri Slaby, (Sun Apr 20, 11:51 am)
speck-geostationary