[lkml]   [2017]   [Oct]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 1/2] security/apparmor: Replace homebrew use of write_can_lock with lockdep
On Tue, Oct 03, 2017 at 03:32:45PM +0100, Will Deacon wrote:
> The lockdep subsystem provides a robust way to assert that a lock is
> held, so use that instead of write_can_lock, which can give incorrect
> results for qrwlocks.
> Cc: John Johansen <>
> Cc: Peter Zijlstra <>
> Signed-off-by: Will Deacon <>

Thanks Will, good to be able to finally remove that API.

 \ /
  Last update: 2017-10-03 17:07    [W:0.042 / U:66.116 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site