summaryrefslogtreecommitdiff
path: root/include/linux/cpu.h
diff options
context:
space:
mode:
authorKonstantin Khlebnikov <khlebnikov@openvz.org>2012-06-01 03:26:21 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2012-06-01 04:49:29 +0400
commitf7505d64f2db5da2d7d94873ddf2cd2524847061 (patch)
treea10aee9604306826816e8e5fc689201f49d7a6d0 /include/linux/cpu.h
parentbca15543736f9be6d84e0bbc262ea7069076b9e6 (diff)
downloadlinux-f7505d64f2db5da2d7d94873ddf2cd2524847061.tar.xz
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