“82cb5fc9cd2e2d94631a3c6775c0827beb217e96”上不存在“...script/general/git@gitcode.net:qq_37101384/tdengine.git”
signal: Exit RCU read-side critical section on each pass through loop
The kill_pid_info() can potentially loop indefinitely if tasks are created and deleted sufficiently quickly, and if this happens, this function will remain in a single RCU read-side critical section indefinitely. This commit therefore exits the RCU read-side critical section on each pass through the loop. Because a race must happen to retry the loop, this should have no performance impact in the common case. Reported-by: NDave Jones <davej@redhat.com> Signed-off-by: NPaul E. McKenney <paulmck@linux.vnet.ibm.com> Acked-by: NOleg Nesterov <oleg@redhat.com> Reviewed-by: NPranith Kumar <bobby.prani@gmail.com>
Showing
想要评论请 注册 或 登录