diff options
author | Bart Van Assche <bvanassche@acm.org> | 2024-05-10 23:23:11 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-05-14 16:22:35 +0300 |
commit | 2a6751e052ab4789630bc889c814037068723bc1 (patch) | |
tree | b1f6e10a7b7ac650f41245225a68712039fa662e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 40639e9a0f6e49edd4ef520e6c0e070e1a04a330 (diff) | |
download | linux-2a6751e052ab4789630bc889c814037068723bc1.tar.xz |
nbd: Improve the documentation of the locking assumptions
Document locking assumptions with lockdep_assert_held() instead of source
code comments. The advantage of lockdep_assert_held() is that it is
verified at runtime if lockdep is enabled in the kernel config.
Cc: Christoph Hellwig <hch@lst.de>
Cc: Josef Bacik <jbacik@fb.com>
Cc: Yu Kuai <yukuai3@huawei.com>
Cc: Markus Pargmann <mpa@pengutronix.de>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20240510202313.25209-4-bvanassche@acm.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions