diff options
author | Konstantin Khlebnikov <khlebnikov@openvz.org> | 2012-05-31 16:26:21 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-05-31 17:49:29 -0700 |
commit | f7505d64f2db5da2d7d94873ddf2cd2524847061 (patch) | |
tree | a10aee9604306826816e8e5fc689201f49d7a6d0 /include/linux/cpu.h | |
parent | bca15543736f9be6d84e0bbc262ea7069076b9e6 (diff) | |
download | lwn-f7505d64f2db5da2d7d94873ddf2cd2524847061.tar.gz lwn-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/linux/cpu.h')
0 files changed, 0 insertions, 0 deletions