Re: [PATCH 1/2] oom: don't ignore rss in nascent mm

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Roland McGrath
Date: Friday, September 10, 2010 - 2:39 am

> I wonder if it makes sense to move ->cred_guard_mutex from task_struct

That probably makes sense.  Note that cred_guard_mutex is also overloaded
for ptrace_attach, so this would add some more serialization of attaches to
threads in the same group.  But as long as actual attachment serializes on
tasklist_lock anyway, it doesn't make a material difference.  (Even without
that, it would presumably be the same debugger attaching serially to
threads in the same group, so it wouldn't degrade anything in practice.)


Thanks,
Roland
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/3] execve argument-copying fixes, Roland McGrath, (Tue Sep 7, 7:34 pm)
Re: [PATCH 0/3] execve argument-copying fixes, KOSAKI Motohiro, (Tue Sep 7, 8:00 pm)
[PATCH 0/2] execve memory exhaust of argument-copying fixes, KOSAKI Motohiro, (Wed Sep 8, 10:01 pm)
[PATCH 1/2] oom: don't ignore rss in nascent mm, KOSAKI Motohiro, (Wed Sep 8, 10:03 pm)
Re: [PATCH 1/2] oom: don't ignore rss in nascent mm, Oleg Nesterov, (Thu Sep 9, 3:05 pm)
Re: [PATCH 1/2] oom: don't ignore rss in nascent mm, Roland McGrath, (Fri Sep 10, 2:39 am)
Re: [PATCH 2/2] execve: check the VM has enough memory at ..., KOSAKI Motohiro, (Wed Sep 15, 10:51 pm)