aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorseokhoon.yoon <[email protected]>2016-08-16 18:26:08 +0900
committerIngo Molnar <[email protected]>2016-09-05 13:29:44 +0200
commitefca03ecbe29a46c2c5ae539563b6326af9dcba7 (patch)
treeb06606cb02060c675f2b7d0b7e81a5b4aa55c12c /tools/perf/scripts/python
parent2665621506e178a1f62e59200403c359c463ea5e (diff)
schedcore: Remove duplicated init_task's preempt_notifiers init
init_task's preempt_notifiers is initialized twice: 1) sched_init() -> INIT_HLIST_HEAD(&init_task.preempt_notifiers) 2) sched_init() -> init_idle(current,) <--- current task is init_task at this time -> __sched_fork(,current) -> INIT_HLIST_HEAD(&p->preempt_notifiers) I think the first one is unnecessary, so remove it. Signed-off-by: seokhoon.yoon <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions