Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 155704
b: refs/heads/master
c: ed900c0
h: refs/heads/master
v: v3
  • Loading branch information
Anton Blanchard authored and Ingo Molnar committed Jul 18, 2009
1 parent 684e426 commit e6892f0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 11b5f81e1b0ea0bc84fe32f0a27054e052b2bf84
refs/heads/master: ed900c054b541254f0ce5cedaf75206e29bd614e
9 changes: 3 additions & 6 deletions trunk/kernel/fork.c
Original file line number Diff line number Diff line change
Expand Up @@ -1408,14 +1408,11 @@ long do_fork(unsigned long clone_flags,
if (clone_flags & CLONE_VFORK) {
p->vfork_done = &vfork;
init_completion(&vfork);
} else if (!(clone_flags & CLONE_VM)) {
/*
* vfork will do an exec which will call
* set_task_comm()
*/
perf_counter_fork(p);
}

if (!(clone_flags & CLONE_THREAD))
perf_counter_fork(p);

audit_finish_fork(p);
tracehook_report_clone(regs, clone_flags, nr, p);

Expand Down

0 comments on commit e6892f0

Please sign in to comment.