From: Christoph Hellwig <hch@lst.de>
To: Bart Van Assche <bvanassche@acm.org>
Cc: Ming Lei <ming.lei@redhat.com>, Jens Axboe <axboe@kernel.dk>,
linux-block@vger.kernel.org,
Veronika Kabatova <vkabatov@redhat.com>,
Song Liu <song@kernel.org>,
linux-raid@vger.kernel.org, Sagi Grimberg <sagi@grimberg.me>,
Tejun Heo <tj@kernel.org>, Christoph Hellwig <hch@lst.de>
Subject: Re: [PATCH V3 1/3] percpu_ref: add percpu_ref_inited() for MD
Date: Wed, 9 Sep 2020 08:04:45 +0200 [thread overview]
Message-ID: <20200909060445.GA8804@lst.de> (raw)
In-Reply-To: <83765d8a-bae3-41d3-5f35-329727022843@acm.org>
On Tue, Sep 08, 2020 at 06:41:48PM -0700, Bart Van Assche wrote:
> On 2020-09-07 18:23, Ming Lei wrote:
> > +bool percpu_ref_inited(struct percpu_ref *ref)
> > +{
> > + return percpu_count_ptr(ref) != NULL;
> > +}
> > +EXPORT_SYMBOL_GPL(percpu_ref_inited);
>
> Wouldn't percpu_ref_initialized() be a better name?
Or maybe even percpu_ref_is_initialized
next prev parent reply other threads:[~2020-09-09 6:04 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-08 1:23 [PATCH V3 0/3] percpu_ref & block: reduce memory footprint of percpu_ref in fast path Ming Lei
2020-09-08 1:23 ` [PATCH V3 1/3] percpu_ref: add percpu_ref_inited() for MD Ming Lei
2020-09-09 0:48 ` Song Liu
2020-09-09 1:41 ` Bart Van Assche
2020-09-09 6:04 ` Christoph Hellwig [this message]
2020-09-08 1:23 ` [PATCH V3 2/3] percpu_ref: reduce memory footprint of percpu_ref in fast path Ming Lei
2020-09-08 1:23 ` [PATCH V3 3/3] block: move 'q_usage_counter' into front of 'request_queue' Ming Lei
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=20200909060445.GA8804@lst.de \
--to=hch@lst.de \
--cc=axboe@kernel.dk \
--cc=bvanassche@acm.org \
--cc=linux-block@vger.kernel.org \
--cc=linux-raid@vger.kernel.org \
--cc=ming.lei@redhat.com \
--cc=sagi@grimberg.me \
--cc=song@kernel.org \
--cc=tj@kernel.org \
--cc=vkabatov@redhat.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.