File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -1831,9 +1831,7 @@ static inline void rseq_migrate(struct task_struct *t)
1831
1831
1832
1832
/*
1833
1833
* If parent process has a registered restartable sequences area, the
1834
- * child inherits. Only applies when forking a process, not a thread. In
1835
- * case a parent fork() in the middle of a restartable sequence, set the
1836
- * resume notifier to force the child to retry.
1834
+ * child inherits. Only applies when forking a process, not a thread.
1837
1835
*/
1838
1836
static inline void rseq_fork (struct task_struct * t , unsigned long clone_flags )
1839
1837
{
@@ -1847,7 +1845,6 @@ static inline void rseq_fork(struct task_struct *t, unsigned long clone_flags)
1847
1845
t -> rseq_len = current -> rseq_len ;
1848
1846
t -> rseq_sig = current -> rseq_sig ;
1849
1847
t -> rseq_event_mask = current -> rseq_event_mask ;
1850
- rseq_preempt (t );
1851
1848
}
1852
1849
}
1853
1850
You can’t perform that action at this time.
0 commit comments