Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 288238
b: refs/heads/master
c: 6e27f63
h: refs/heads/master
v: v3
  • Loading branch information
Oleg Nesterov authored and Linus Torvalds committed Mar 5, 2012
1 parent f6a61d4 commit c82e8ec
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 11 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: 57b59c4a1400fa6c34764eab2e35a8762dc05a09
refs/heads/master: 6e27f63edbd7ab893258e16500171dd1270a1369
1 change: 0 additions & 1 deletion trunk/include/linux/sched.h
Original file line number Diff line number Diff line change
Expand Up @@ -1777,7 +1777,6 @@ extern void thread_group_times(struct task_struct *p, cputime_t *ut, cputime_t *
/*
* Per process flags
*/
#define PF_STARTING 0x00000002 /* being created */
#define PF_EXITING 0x00000004 /* getting shut down */
#define PF_EXITPIDONE 0x00000008 /* pi exit done on shut down */
#define PF_VCPU 0x00000010 /* I'm a virtual CPU */
Expand Down
9 changes: 0 additions & 9 deletions trunk/kernel/fork.c
Original file line number Diff line number Diff line change
Expand Up @@ -1046,7 +1046,6 @@ static void copy_flags(unsigned long clone_flags, struct task_struct *p)

new_flags &= ~(PF_SUPERPRIV | PF_WQ_WORKER);
new_flags |= PF_FORKNOEXEC;
new_flags |= PF_STARTING;
p->flags = new_flags;
}

Expand Down Expand Up @@ -1579,14 +1578,6 @@ long do_fork(unsigned long clone_flags,
get_task_struct(p);
}

/*
* We set PF_STARTING at creation in case tracing wants to
* use this to distinguish a fully live task from one that
* hasn't finished SIGSTOP raising yet. Now we clear it
* and set the child going.
*/
p->flags &= ~PF_STARTING;

wake_up_new_task(p);

/* forking complete and child started to run, tell ptracer */
Expand Down

0 comments on commit c82e8ec

Please sign in to comment.