Linus Torvalds writes: (Summary) On Wed, Jun 13, 2018 at 3:44 AM Tetsuo Handa
<penguin-kernel@i-love.sakura.ne.jp> Particularly not the kind where then a function drops the lock that was taken in another function - and only does it based on some parameter.
and only does it based on some parameter.
Yes, we have cases where we do it, but it's seldom a great idea, and it _really_ makes for subtle code (and subtle bugs). it _really_ makes for subtle code (and subtle bugs). Linus
Linus
Linus
<penguin-kernel@i-love.sakura.ne.jp> Particularly not the kind where then a function drops the lock that was taken in another function - and only does it based on some parameter.
and only does it based on some parameter.
Yes, we have cases where we do it, but it's seldom a great idea, and it _really_ makes for subtle code (and subtle bugs). it _really_ makes for subtle code (and subtle bugs). Linus
Linus
Linus