Re: [resend][PATCH 4/4] oom: don't ignore rss in nascent mm

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Oleg Nesterov
Date: Monday, November 29, 2010 - 4:33 am

On 11/29, KOSAKI Motohiro wrote:

Ah, I didn't mean NOMMU. I meant compat_execve()->compat_copy_strings().
If a 32bit process execs we seem to miss the RLIMIT_STACK check, no?


Yes, yes, sure.


OK.


Well it does, to revert the MM_ANONPAGES counter. I'll add the empty
function for NOMMU.


OK.


Yes, we already killed all sub-threads. But this doesn't mean nobody
else can use current->mm, think about CLONE_VM. The simplest example
is vfork().


Yes.

Thanks Kosaki!

I'll resend v2 today. I am still not sure about compat_copy_strings()...

Oleg.

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

Messages in current thread:
[resend][PATCH 4/4] oom: don't ignore rss in nascent mm, KOSAKI Motohiro, (Sun Oct 24, 8:29 pm)
Re: [resend][PATCH 4/4] oom: don't ignore rss in nascent mm, KOSAKI Motohiro, (Tue Oct 26, 12:25 am)
[patch] oom: document obsolete oom_adj tunable, David Rientjes, (Tue Nov 9, 4:55 pm)
Re: [patch] oom: document obsolete oom_adj tunable, KOSAKI Motohiro, (Sun Nov 14, 5:22 pm)
Re: [patch] oom: document obsolete oom_adj tunable, David Rientjes, (Mon Nov 15, 3:38 am)
Re: [patch] oom: document obsolete oom_adj tunable, KOSAKI Motohiro, (Tue Nov 23, 12:16 am)
Re: [resend][PATCH 4/4] oom: don't ignore rss in nascent mm, KOSAKI Motohiro, (Tue Nov 23, 5:24 pm)
Re: [resend][PATCH 4/4] oom: don't ignore rss in nascent mm, KOSAKI Motohiro, (Thu Nov 25, 4:06 am)
Re: [resend][PATCH 4/4] oom: don't ignore rss in nascent mm, KOSAKI Motohiro, (Sun Nov 28, 10:25 pm)
Re: [resend][PATCH 4/4] oom: don't ignore rss in nascent mm, Oleg Nesterov, (Mon Nov 29, 4:33 am)
Re: [resend][PATCH 4/4] oom: don't ignore rss in nascent mm, KOSAKI Motohiro, (Mon Nov 29, 5:06 pm)
[PATCH 0/4] exec: unify compat/non-compat code, Oleg Nesterov, (Tue Nov 30, 1:00 pm)
[PATCH 1/4] exec: introduce get_arg_ptr() helper, Oleg Nesterov, (Tue Nov 30, 1:00 pm)
[PATCH 3/4] exec: unify compat_do_execve() code, Oleg Nesterov, (Tue Nov 30, 1:01 pm)
Re: [PATCH 0/4] exec: unify compat/non-compat code, KOSAKI Motohiro, (Tue Nov 30, 8:09 pm)
(No subject header), Milton Miller, (Wed Dec 1, 10:37 am)
Re: (No subject header), Oleg Nesterov, (Wed Dec 1, 11:27 am)