[sheepdog] [PATCH] trace: don't do patching while short_thread_running

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Sat Sep 1 14:03:17 CEST 2012


At Fri, 31 Aug 2012 23:17:06 +0800,
Liu Yuan wrote:
> 
> From: Liu Yuan <tailai.ly at taobao.com>
> 
> When the code patcher wakes up, there is still chances that short thread is
> running. We simply return to wait for next eventfd notification until we are
> safe to do patching.
> 
> Signed-off-by: Liu Yuan <tailai.ly at taobao.com>
> ---
>  sheep/trace/trace.c | 11 +++++++++++
>  1 file changed, 11 insertions(+)

Applied, thanks!

Kazutaka



More information about the sheepdog mailing list