commit | f0100c7f1aac7f10eb249c494de5016fcf8c0652 | [log] [tgz] |
---|---|---|
author | Davidlohr Bueso <dave@stgolabs.net> | Mon Aug 31 13:14:02 2020 -0700 |
committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | Thu Sep 03 10:13:43 2020 +0200 |
tree | a80d04b4a34826dd7883bb6aba1763218a9df117 | |
parent | a510b616131f85215ba156ed67e5ed1c0701f80f [diff] |
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>