From: Jens Axboe <axboe@kernel.dk>
To: Bart Van Assche <bart.vanassche@wdc.com>
Cc: linux-block@vger.kernel.org, Christoph Hellwig <hch@lst.de>,
Tejun Heo <tj@kernel.org>
Subject: Re: [PATCH] blk-mq: Add locking annotations to hctx_lock() and hctx_unlock()
Date: Wed, 10 Jan 2018 12:36:22 -0700 [thread overview]
Message-ID: <0c2e7dbf-b124-f448-ea39-51e1de4aa682@kernel.dk> (raw)
In-Reply-To: <20180110193427.6601-1-bart.vanassche@wdc.com>
On 1/10/18 12:34 PM, Bart Van Assche wrote:
> This patch avoids that sparse reports the following:
>
> block/blk-mq.c:637:33: warning: context imbalance in 'hctx_unlock' - unexpected unlock
> block/blk-mq.c:642:9: warning: context imbalance in 'hctx_lock' - wrong count at exit
Thanks Bart, applied.
--
Jens Axboe
prev parent reply other threads:[~2018-01-10 19:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-10 19:34 [PATCH] blk-mq: Add locking annotations to hctx_lock() and hctx_unlock() Bart Van Assche
2018-01-10 19:36 ` Jens Axboe [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0c2e7dbf-b124-f448-ea39-51e1de4aa682@kernel.dk \
--to=axboe@kernel.dk \
--cc=bart.vanassche@wdc.com \
--cc=hch@lst.de \
--cc=linux-block@vger.kernel.org \
--cc=tj@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox