diff options
author | Jann Horn <[email protected]> | 2019-07-16 17:20:47 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2019-07-25 15:37:05 +0200 |
commit | cb361d8cdef69990f6b4504dc1fd9a594d983c97 (patch) | |
tree | cde527557b6259487a11df5f30a652ab965cda41 /scripts/gdb/linux/clk.py | |
parent | 16d51a590a8ce3befb1308e0e7ab77f3b661af33 (diff) |
sched/fair: Use RCU accessors consistently for ->numa_group
The old code used RCU annotations and accessors inconsistently for
->numa_group, which can lead to use-after-frees and NULL dereferences.
Let all accesses to ->numa_group use proper RCU helpers to prevent such
issues.
Signed-off-by: Jann Horn <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Petr Mladek <[email protected]>
Cc: Sergey Senozhatsky <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Will Deacon <[email protected]>
Fixes: 8c8a743c5087 ("sched/numa: Use {cpu, pid} to create task groups for shared faults")
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/clk.py')
0 files changed, 0 insertions, 0 deletions