On Thu, Dec 07, 2017 at 08:34:56AM +0900, Masami Hiramatsu wrote:
On Wed, 06 Dec 2017 18:25:55 +0100 gregkh@linuxfoundation.org wrote:
This is a note to let you know that I've just added the patch titled
kprobes: Use synchronize_rcu_tasks() for optprobe with CONFIG_PREEMPT=y
to the 4.14-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git%3Ba=su...
The filename of the patch is: kprobes-use-synchronize_rcu_tasks-for-optprobe-with-config_preempt-y.patch and it can be found in the queue-4.14 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let stable@vger.kernel.org know about it.
this depends on commit 7e42776d5ed1f ("rcu: Drive TASKS_RCU directly off of PREEMPT")
That patch is already in 4.14, so all should be fine there.
So, pull above commit too, for 4.14 and 4.9. But I'm not sure TASKS_RCU is introduced on 3.18.
I've dropped this from 3.18 for now, and I'll go drop it from 4.9 as I don't think it's really worth it at this point in time.
thanks for the review and quick response.
greg k-h