Re: [Fwd: [-mm] Add an owner to the mm_struct (v9)]

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andrew Morton
Date: Monday, April 14, 2008 - 5:07 pm

On Mon, 14 Apr 2008 19:43:11 +0530
Balbir Singh <balbir@linux.vnet.ibm.com> wrote:


Rather a lot of wordwrapping here, but the patch applied OK nonetheless. 
This means that all the code was within 80 columns ;)


I assume this trick is here to minimise runtime overhead on systems which
never use cgroups?

It'd be nice if the changelog were to describe what that overhead is.

Then I'd know whether to ask whether we should look at clearing
need_mm_owner_callback when the system stops using cgroups.  Somehow.


"let's"


But this comment rather duplicates the above one.


Potentially-long tasklist_lock hold times are a concern.  I don't suppose
rcu can save us?

Some additional commentary fleshing out "We should not get here often"
might set minds at ease.  How not-often?  Under which circumstances?


afaict no callbacks are implemented in this patch?  What's the plan here? 
Should be covered in the changelog, please.


The mem_cgroup_zoneinfo() will immediately and reliably oops if mem_cont is
NULL, won't it?  If so, the BUG_ON() is redundant?


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

Messages in current thread:
[Fwd: [-mm] Add an owner to the mm_struct (v9)], Balbir Singh, (Mon Apr 14, 7:13 am)
Re: [Fwd: [-mm] Add an owner to the mm_struct (v9)], Pekka Enberg, (Mon Apr 14, 7:49 am)
Re: [Fwd: [-mm] Add an owner to the mm_struct (v9)], Paul Menage, (Mon Apr 14, 9:04 am)
Re: [Fwd: [-mm] Add an owner to the mm_struct (v9)], Andrew Morton, (Mon Apr 14, 12:36 pm)
Re: [Fwd: [-mm] Add an owner to the mm_struct (v9)], Pekka Enberg, (Mon Apr 14, 2:06 pm)
Re: [Fwd: [-mm] Add an owner to the mm_struct (v9)], Andrew Morton, (Mon Apr 14, 5:07 pm)
Re: [Fwd: [-mm] Add an owner to the mm_struct (v9)], Oleg Nesterov, (Tue Apr 15, 10:13 am)
Re: [Fwd: [-mm] Add an owner to the mm_struct (v9)], Paul Menage, (Tue Apr 15, 11:13 am)
Re: [Fwd: [-mm] Add an owner to the mm_struct (v9)], Oleg Nesterov, (Tue Apr 15, 12:59 pm)
Re: [Fwd: [-mm] Add an owner to the mm_struct (v9)], Balbir Singh, (Wed Apr 16, 8:38 pm)
Re: [Fwd: [-mm] Add an owner to the mm_struct (v9)], Oleg Nesterov, (Thu Apr 17, 4:30 am)
Re: [Fwd: [-mm] Add an owner to the mm_struct (v9)], Oleg Nesterov, (Thu Apr 17, 9:19 am)
Re: [Fwd: [-mm] Add an owner to the mm_struct (v9)], Paul Menage, (Thu Apr 17, 9:34 am)
Re: [Fwd: [-mm] Add an owner to the mm_struct (v9)], Oleg Nesterov, (Thu Apr 17, 10:08 am)
Re: [Fwd: [-mm] Add an owner to the mm_struct (v9)], Balbir Singh, (Thu Apr 17, 10:40 am)
Re: [Fwd: [-mm] Add an owner to the mm_struct (v9)], Paul Menage, (Thu Apr 17, 10:49 am)
Re: [Fwd: [-mm] Add an owner to the mm_struct (v9)], Paul Menage, (Thu Apr 17, 10:50 am)
Re: [Fwd: [-mm] Add an owner to the mm_struct (v9)], Balbir Singh, (Thu Apr 17, 12:07 pm)