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


Groups > linux.kernel > #1395278

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

From Christoph Hellwig <hch@infradead.org>
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-11@gated-at.bofh.it> (permalink)
References <rvvJ8-4je-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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.

Back to linux.kernel | Previous | Next — Previous 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