Files
Linux/fs
Davidlohr Bueso 6060c07d47 affs: Replace binary semaphores with mutexes
At a slight footprint cost (24 vs 32 bytes), mutexes are more optimal
than semaphores; it's also a nicer interface for mutual exclusion,
which is why they are encouraged over binary semaphores, when possible.

For both i_link_lock and i_ext_lock (and hence i_hash_lock which I
annotated for the hash lock mapping hackery for lockdep), their semantics
imply traditional lock ownership; that is, the lock owner is the same for
both lock/unlock operations and does not run in irq context. Therefore
it is safe to convert.

Signed-off-by: Davidlohr Bueso <[email protected]>
Signed-off-by: David Sterba <[email protected]>
2019-11-18 14:26:43 +01:00
..
2019-09-29 19:25:39 -07:00
…
…
2019-10-19 06:32:32 -04:00
2019-08-30 08:11:25 -07:00
…
…
…
2019-08-07 21:51:47 -04:00
…
…
2019-10-14 15:04:01 -07:00
…
…
…
…
…
…
…
…
…
2019-08-01 20:51:23 +02:00
2019-09-25 17:51:41 -07:00
…