lkml.org 
[lkml]   [2017]   [Oct]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
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 <john.johansen@canonical.com>
> Cc: Peter Zijlstra <peterz@infradead.org>
> Signed-off-by: Will Deacon <will.deacon@arm.com>

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

\
 
 \ /
  Last update: 2017-10-03 17:07    [W:0.043 / U:6.464 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site