Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1395272

Re: [PATCH] block: partition: use RCU_INIT_POINTER() for NULLing.

From Muhammad Falak R Wani <falakreyaz@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH] block: partition: use RCU_INIT_POINTER() for NULLing.
Date 2016-05-05 20:40 +0200
Message-ID <rvwlP-5gq-9@gated-at.bofh.it> (permalink)
References <rvvJ8-4je-13@gated-at.bofh.it> <rvwlP-5gq-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] block: partition: use RCU_INIT_POINTER() for NULLing. Muhammad Falak R Wani <falakreyaz@gmail.com> - 2016-05-05 20:00 +0200
  Re: [PATCH] block: partition: use RCU_INIT_POINTER() for NULLing. Muhammad Falak R Wani <falakreyaz@gmail.com> - 2016-05-05 20:40 +0200
  Re: [PATCH] block: partition: use RCU_INIT_POINTER() for NULLing. Christoph Hellwig <hch@infradead.org> - 2016-05-05 20:40 +0200

csiph-web