From: Markus Elfring Date: Mon, 25 May 2020 10:40:29 +0000 Subject: Re: [v2] workqueue: Fix double kfree for rescuer Message-Id: <8b67c327-e70c-1e96-6a99-a5fd2667f666@web.de> List-Id: References: <20200525075901.12699-1-qiang.zhang@windriver.com> <7d19381c-2c51-deb4-f82f-d54bc56c6ecf@web.de> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: Zhang Qiang , Tejun Heo , Lai Jiangshan Cc: linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org > I see, kfree does nothing with null pointers and direct return. > but again kfree is not a good suggestion. I have got the impression that the implementation detail is important here if non-null pointers (according to valid rescuer objects) are occasionally passed by the corresponding data structure member for the callback function “rcu_free_wq”. Can another clarification attempt reduce unwanted confusion for this patch review? Regards, Markus