lkml.org 
[lkml]   [2009]   [Jan]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: atomics: document that linux expects certain atomic behaviour from unsigned long
> If it is okay and linux relies on it, it should be documented.
>
> If it is not okay, I guess we should document it, too -- it seems to
> be common mistake.

A lot of old code did it knowing it was under the BKL, outside of the BKL
its a very bad idea. There were lots of them in the tty layer and I don't
doubt there are some left I missed too 8(


\
 
 \ /
  Last update: 2009-01-03 21:33    [W:0.062 / U:0.580 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site