]> asedeno.scripts.mit.edu Git - linux.git/commit
pagewalk: use lockdep_assert_held for locking validation
authorChristoph Hellwig <hch@lst.de>
Wed, 28 Aug 2019 14:19:55 +0000 (16:19 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Sat, 7 Sep 2019 07:28:04 +0000 (04:28 -0300)
commitb4bc7817b2bcc2432db6de99188c85ef16314c93
tree0af73f2f7acbead63e3645e2a4ac2f5ec6a6e438
parent7b86ac3371b70c3fd8fd95501719beb1faab719f
pagewalk: use lockdep_assert_held for locking validation

Use lockdep to check for held locks instead of using home grown asserts.

Link: https://lore.kernel.org/r/20190828141955.22210-4-hch@lst.de
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Steven Price <steven.price@arm.com>
Reviewed-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
mm/pagewalk.c