[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20160501173429.GB21574@infradead.org>
Date: Sun, 1 May 2016 10:34:29 -0700
From: Christoph Hellwig <hch@...radead.org>
To: Muhammad Falak R Wani <falakreyaz@...il.com>
Cc: Alexander Viro <viro@...iv.linux.org.uk>,
linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] vfs: use RCU_INIT_POINTER when NULLing
On Sun, May 01, 2016 at 01:39:12AM +0530, Muhammad Falak R Wani wrote:
> It is always safe to use RCU_INIT_POINTER to NULL a pointer. This
> results in slightly smaller/faster code.
Just fix rcu_assign_pointer to do the right thing for a NULL
argument instead.
Powered by blists - more mailing lists