[CRIU] [PATCH 2/7] compel: Update comment for parasite_ctl::r_thread_stack

Cyrill Gorcunov gorcunov at openvz.org
Mon Mar 13 09:52:14 PDT 2017


It's shared data between all thread, so keep in
mind the execution inside threads should be sequented
from compel perspective.

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 compel/include/infect-priv.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/compel/include/infect-priv.h b/compel/include/infect-priv.h
index 00671e71fed9..45e7409980d0 100644
--- a/compel/include/infect-priv.h
+++ b/compel/include/infect-priv.h
@@ -29,7 +29,7 @@ struct parasite_ctl {
 	struct rt_sigframe	*sigframe;
 	struct rt_sigframe	*rsigframe;				/* address in a parasite */
 
-	void			*r_thread_stack;			/* stack for non-leader threads */
+	void			*r_thread_stack;			/* stack for non-leader threads (shared) */
 
 	unsigned long		parasite_ip;				/* service routine start ip */
 
-- 
2.7.4



More information about the CRIU mailing list