[lxc-devel] setns() syscall perf issue

2012-01-24 Thread Dilip Daya
Would you consider the the following changes to switch_task_namespaces() ?? I've tested 3.2.1-stable: --- a/kernel/nsproxy.c2011-12-08 17:46:59.0 -0500 +++ b/kernel/nsproxy.c2012-01-24 10:30:06.0 -0500 @@ -222,7 +222,7 @@ void switch_task_namespaces(struct task_

[lxc-devel] [PATCH] correctly install signal handler for lxc-init

2012-01-24 Thread jian
From: Jian Xiao This patch is to correct the manipulation of signal masks when installing signal handlers for lxc-init. Signed-off-by: Jian Xiao Signed-off-by: Greg Kurz --- src/lxc/lxc_init.c | 22 +++--- 1 files changed, 19 insertions(+), 3 deletions(-) diff --git a/src/

[lxc-devel] [PATCH] remove redundent LXC_TTY_HANDLER

2012-01-24 Thread jian
From: Jian Xiao All the signals (except fatal ones) are redirected to signalfd at lxc_init, so the LXC_TTY_HANDLERs are redundant. This patch removes them. Signed-off-by: Jian Xiao --- src/lxc/start.c |9 - src/lxc/utils.h | 29 ++--- 2 files changed, 2 in