diff options
author | Davidlohr Bueso <dave@stgolabs.net> | 2020-08-31 23:14:02 +0300 |
---|---|---|
committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2020-09-03 11:13:43 +0300 |
commit | f0100c7f1aac7f10eb249c494de5016fcf8c0652 (patch) | |
tree | a80d04b4a34826dd7883bb6aba1763218a9df117 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | a510b616131f85215ba156ed67e5ed1c0701f80f (diff) | |
download | linux-f0100c7f1aac7f10eb249c494de5016fcf8c0652.tar.xz |
MIPS: Use rcu to lookup a task in mipsmt_sys_sched_setaffinity()
The call simply looks up the corresponding task (without iterating
the tasklist), which is safe under rcu instead of the tasklist_lock.
In addition, the setaffinity counter part already does this.
Signed-off-by: Davidlohr Bueso <dbueso@suse.de>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions