Re: [PATCH] tracing: Wait for preempt irq delay thread to finish

2020-05-07 Thread joel
On May 7, 2020 6:05:02 AM EDT, Xiao Yang wrote: >Hi Steven, > >Thanks for your further investigation. > >I used the following ways to test your fix patch on my slow vm and >didn't see any issue: >1) Insert and remove preemptirq_delay_test in loops. >2) Insert preemptirq_delay_test, write to >

Re: [PATCH] tracing: Wait for preempt irq delay thread to finish

2020-05-07 Thread Xiao Yang
Hi Steven, Thanks for your further investigation. I used the following ways to test your fix patch on my slow vm and didn't see any issue: 1) Insert and remove preemptirq_delay_test in loops. 2) Insert preemptirq_delay_test, write to /sys/kernel/preemptirq_delay_test/trigger and remove preem

[PATCH] tracing: Wait for preempt irq delay thread to finish

2020-05-06 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" Running on a slower machine, it is possible that the preempt delay kernel thread may still be executing if the module was immediately removed after added, and this can cause the kernel to crash as the kernel thread might be executing after its code has been removed