From: Muhammad Falak R Wani <falakreyaz@gmail.com>
To: Christoph Hellwig <hch@infradead.org>
Cc: Jens Axboe <axboe@kernel.dk>,
linux-block@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] block: partition: use RCU_INIT_POINTER() for NULLing.
Date: Fri, 6 May 2016 00:05:12 +0530 [thread overview]
Message-ID: <20160505183512.GA10821@kp> (raw)
In-Reply-To: <20160505183119.GA12271@infradead.org>
On Thu, May 05, 2016 at 11:31:19AM -0700, Christoph Hellwig wrote:
> On Thu, May 05, 2016 at 11:24:06PM +0530, Muhammad Falak R Wani wrote:
> > It is safe to use RCU_INIT_POINTER() to NULL, instead of
> > rcu_assign_pointer().
> > This results in slightly smaller/faster code.
> >
> > Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
>
> Muhammad,
>
> please stop sending these patches. They make the code less reusbale,
> and we (or rather Paul) are working on making rcu_assign_pointer do
> the right thing.
Sorry, my bad!
Wont send any of these now. I just thought it might be the right thing
to do, till the time Paul et al make it do the right thing.
-mfrw
prev parent reply other threads:[~2016-05-05 18:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-05 17:54 [PATCH] block: partition: use RCU_INIT_POINTER() for NULLing Muhammad Falak R Wani
2016-05-05 18:31 ` Christoph Hellwig
2016-05-05 18:35 ` Muhammad Falak R Wani [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=20160505183512.GA10821@kp \
--to=falakreyaz@gmail.com \
--cc=axboe@kernel.dk \
--cc=hch@infradead.org \
--cc=linux-block@vger.kernel.org \
--cc=linux-kernel@vger.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