Re: [PATCH v6] workqueue: Remove unnecessary kfree() call in rcu_free_wq()

2020-05-28 Thread Markus Elfring
> Thus delete this function call which became unnecessary with the referenced > software update. … > Co-developed-by: Markus Elfring I guess that this tag should usually trigger another consequence like the following. https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Docume

[PATCH v6] workqueue: Remove unnecessary kfree() call in rcu_free_wq()

2020-05-27 Thread qiang.zhang
From: Zhang Qiang The data structure member "wq->rescuer" was reset to a null pointer in one if branch. It was passed to a call of the function "kfree" in the callback function "rcu_free_wq" (which was eventually executed). The function "kfree" does not perform more meaningful data processing for