Messages in this thread | | | Date | Wed, 13 Jun 2018 14:40:47 +0530 | From | Viresh Kumar <> | Subject | Re: [PATCH V6] powercap/drivers/idle_injection: Add an idle injection framework |
| |
On 13-06-18, 11:03, Daniel Lezcano wrote: > nr_threads(smpboot) <> nr_threads(idleinject) > > If we are facing races issues, it is because we are trying to avoid > using locks in the code path. With lock and proper refcounting that > should be solved, AFAICT there are similar races with inodes.
I am not sure if locking can make things better here. We aren't using them as we don't really need them AFAIU :)
-- viresh
| |