diff options
author | Konstantin Khlebnikov <khlebnikov@openvz.org> | 2012-06-01 01:26:21 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-06-01 02:49:29 +0200 |
commit | f7505d64f2db5da2d7d94873ddf2cd2524847061 (patch) | |
tree | a10aee9604306826816e8e5fc689201f49d7a6d0 /include | |
parent | proc/smaps: show amount of nonlinear ptes in vma (diff) | |
download | linux-f7505d64f2db5da2d7d94873ddf2cd2524847061.tar.xz linux-f7505d64f2db5da2d7d94873ddf2cd2524847061.zip |
fork: call complete_vfork_done() after clearing child_tid and flushing rss-counters
Child should wake up the parent from vfork() only after finishing all
operations with shared mm. There is no sense in using
CLONE_CHILD_CLEARTID together with CLONE_VFORK, but it looks more accurate
now.
Signed-off-by: Konstantin Khlebnikov <khlebnikov@openvz.org>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Konstantin Khlebnikov <khlebnikov@openvz.org>
Cc: Markus Trippelsdorf <markus@trippelsdorf.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions