Skip to content
Commit f0100c7f authored by Davidlohr Bueso's avatar Davidlohr Bueso Committed by Thomas Bogendoerfer
Browse files

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: default avatarDavidlohr Bueso <dbueso@suse.de>
Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
parent a510b616
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment