Re: [PATCH][v2] ipc: prevent lockup on alloc_msg and free_msg

2019-03-12 Thread Davidlohr Bueso
On 2019-03-07 23:12, Li RongQing wrote: From: Li Rongqing msgctl10 of ltp triggers the following lockup When CONFIG_KASAN is enabled on large memory SMP systems, the pages initialization can take a long time, if msgctl10 requests a huge block memory, and it will block rcu scheduler, so release

[PATCH][v2] ipc: prevent lockup on alloc_msg and free_msg

2019-03-07 Thread Li RongQing
From: Li Rongqing msgctl10 of ltp triggers the following lockup When CONFIG_KASAN is enabled on large memory SMP systems, the pages initialization can take a long time, if msgctl10 requests a huge block memory, and it will block rcu scheduler, so release cpu actively. After adding schedule() in