[lkml]   [2013]   [Jun]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 0/3] static keys: fix test/set races

* <> wrote:

> Hi,
> As pointed out by Andi Kleen, some static key users can be racy because they
> check the value of the key->enabled, and then subsequently update the branch
> direction. A number of call sites have 'higher' level locking that avoids this
> race, but the usage in the scheduler features does not. See:

But that's not an issue at all - switching the scheduler features is for
development and debugging only, and in some cases higher level locking
would be needed to solve it 'properly', beyond what the keys API could
give ...

So this is pretty pointless, sorry, please don't complicate this facility.



 \ /
  Last update: 2013-06-29 09:41    [W:0.166 / U:0.240 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site