[lkml]   [2009]   [Jul]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [Patch RFC 21/37] affs: use semaphore_init instead of init_MUTEX
On Sun, Jul 26, 2009 at 08:18:45AM -0000, Thomas Gleixner wrote:
> The usage of these "mutex" is non obvious and probably a completion
> in some places. Make it them semaphores.

Except for the obsfucation by the wrappers it's clearly obvious that
these are plain binary mutexes, so they should be converted. Note that
this will trigger some lockdep warnings as we sometimes hold the same
lock for parent and child. Maybe we can use this as a check if any
users of affs are left :)

 \ /
  Last update: 2009-07-30 23:17    [W:0.374 / U:6.796 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site