[lkml]   [2018]   [Apr]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v2 1/3] locking: Document the semantics of spin_is_locked()
Andrea Parri <> wrote:

> > It's more complicated than that. This function is dangerous and should be
> > used with extreme care. In the case where CONFIG_SMP=n the value is locked
> > one way or the other and it might be the wrong way.
> You mean "unlocked"? (aka, return 0)

No, I mean "fixed", sorry. We've had problems stemming from this before on UP


 \ /
  Last update: 2018-04-03 15:53    [W:0.090 / U:0.340 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site