[PATCH] workqueue: fix a typo

2015-05-13 Thread Chen Hanxiao
s/detemined/determined Signed-off-by: Chen Hanxiao --- kernel/workqueue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/workqueue.c b/kernel/workqueue.c index 586ad91..1a092e1 100644 --- a/kernel/workqueue.c +++ b/kernel/workqueue.c @@ -2616,7 +2616,7

[PATCH] workqueue: fix a typo

2015-05-13 Thread Chen Hanxiao
s/detemined/determined Signed-off-by: Chen Hanxiao chenhanx...@cn.fujitsu.com --- kernel/workqueue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/workqueue.c b/kernel/workqueue.c index 586ad91..1a092e1 100644 --- a/kernel/workqueue.c +++ b/kernel/workqueue.c

[PATCH v2] docs: add VmPMD description in proc

2015-04-24 Thread Chen Hanxiao
commit dc6c9a35b66b ("mm: account pmd page tables to the process") add VmPMD in /proc/PID/status. This patch add a description in proc.txt for it. cc: Kirill A. Shutemov Signed-off-by: Chen Hanxiao --- v2: change description of VmPMD as Kirill's comment Documentation/filesystems/pr

RE: [PATCH] docs: add VmPMD description in proc

2015-04-24 Thread Chen, Hanxiao
> -Original Message- > From: Kirill A. Shutemov [mailto:kir...@shutemov.name] > Sent: Friday, April 24, 2015 2:33 PM > To: Chen, Hanxiao/陈 晗霄 > Cc: Jonathan Corbet; linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; > Kirill A. Shutemov > Subject: Re: [P

[PATCH] docs: add VmPMD description in proc

2015-04-24 Thread Chen Hanxiao
commit dc6c9a35b66b ("mm: account pmd page tables to the process") add VmPMD in /proc/PID/status. This patch add a description in proc.txt for it. cc: Kirill A. Shutemov Signed-off-by: Chen Hanxiao --- Documentation/filesystems/proc.txt | 1 + 1 file changed, 1 insertion(+)

[PATCH] docs: add VmPMD description in proc

2015-04-24 Thread Chen Hanxiao
commit dc6c9a35b66b (mm: account pmd page tables to the process) add VmPMD in /proc/PID/status. This patch add a description in proc.txt for it. cc: Kirill A. Shutemov kirill.shute...@linux.intel.com Signed-off-by: Chen Hanxiao chenhanx...@cn.fujitsu.com --- Documentation/filesystems/proc.txt

RE: [PATCH] docs: add VmPMD description in proc

2015-04-24 Thread Chen, Hanxiao
-Original Message- From: Kirill A. Shutemov [mailto:kir...@shutemov.name] Sent: Friday, April 24, 2015 2:33 PM To: Chen, Hanxiao/陈 晗霄 Cc: Jonathan Corbet; linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; Kirill A. Shutemov Subject: Re: [PATCH] docs: add VmPMD description

[PATCH v2] docs: add VmPMD description in proc

2015-04-24 Thread Chen Hanxiao
commit dc6c9a35b66b (mm: account pmd page tables to the process) add VmPMD in /proc/PID/status. This patch add a description in proc.txt for it. cc: Kirill A. Shutemov kirill.shute...@linux.intel.com Signed-off-by: Chen Hanxiao chenhanx...@cn.fujitsu.com --- v2: change description of VmPMD

RE: [PATCH] Docs: proc: fix kernel version

2015-04-21 Thread Chen, Hanxiao
Hi, > -Original Message- > From: Jonathan Corbet [mailto:cor...@lwn.net] > Sent: Tuesday, April 21, 2015 8:14 PM > To: Chen, Hanxiao/陈 晗霄 > Cc: Andrew Morton; Nathan Scott; linux-...@vger.kernel.org; > linux-kernel@vger.kernel.org; Jiri Kosina > Subject: Re: [PATCH] D

RE: [PATCH] Docs: proc: fix kernel version

2015-04-21 Thread Chen, Hanxiao
Hi, -Original Message- From: Jonathan Corbet [mailto:cor...@lwn.net] Sent: Tuesday, April 21, 2015 8:14 PM To: Chen, Hanxiao/陈 晗霄 Cc: Andrew Morton; Nathan Scott; linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; Jiri Kosina Subject: Re: [PATCH] Docs: proc: fix kernel

[PATCH] Docs: proc: fix kernel version

2015-04-20 Thread Chen Hanxiao
Change kernel version from 3.20 to 4.1 Signed-off-by: Chen Hanxiao --- Documentation/filesystems/proc.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/filesystems/proc.txt b/Documentation/filesystems/proc.txt index c3b6b30..1cc7155 100644

[PATCH] Docs: proc: fix kernel version

2015-04-20 Thread Chen Hanxiao
Change kernel version from 3.20 to 4.1 Signed-off-by: Chen Hanxiao chenhanx...@cn.fujitsu.com --- Documentation/filesystems/proc.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/filesystems/proc.txt b/Documentation/filesystems/proc.txt index c3b6b30..1cc7155

RE: [PATCH v10 2/2] docs: add missing and new /proc/PID/status file entries, fix typos

2015-02-27 Thread Chen, Hanxiao
> -Original Message- > From: Andrew Morton [mailto:a...@linux-foundation.org] > Sent: Tuesday, February 24, 2015 5:02 AM > To: Chen, Hanxiao/陈 晗霄 > Cc: Eric W. Biederman; contain...@lists.linux-foundation.org; > linux-kernel@vger.kernel.org; linux-...@vger.kernel

RE: [PATCH v10 2/2] docs: add missing and new /proc/PID/status file entries, fix typos

2015-02-27 Thread Chen, Hanxiao
-Original Message- From: Andrew Morton [mailto:a...@linux-foundation.org] Sent: Tuesday, February 24, 2015 5:02 AM To: Chen, Hanxiao/陈 晗霄 Cc: Eric W. Biederman; contain...@lists.linux-foundation.org; linux-kernel@vger.kernel.org; linux-...@vger.kernel.org; Serge Hallyn; Jonathan

[PATCH v10 2/2] docs: add missing and new /proc/PID/status file entries, fix typos

2015-02-22 Thread Chen Hanxiao
From: Nathan Scott --- Documentation/filesystems/proc.txt | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/Documentation/filesystems/proc.txt b/Documentation/filesystems/proc.txt index a07ba61..6d37062 100644 --- a/Documentation/filesystems/proc.txt +++

[resend][PATCH v10 1/2] /proc/PID/status: show all sets of pid according to ns

2015-02-22 Thread Chen Hanxiao
, it depends on which pidns are you in. NStgid: 5 1 NSpid: 5 1 NSpgid: 5 1 NSsid: 1 0 ** Views from level 1 Acked-by: Serge Hallyn Acked-by: "Eric W. Biederman" Tested-by: Serge Hallyn Tested-by: Nathan Scott Signed-off-by: Chen Hanxiao --- v10: remov

[resend][PATCH v10 0/2] ns, procfs: pid conversion between ns

2015-02-22 Thread Chen Hanxiao
Chen Hanxiao (1): /proc/PID/status: show all sets of pid according to ns Nathan Scott (1): docs: add missing and new /proc/PID/status file entries, fix typos Documentation/filesystems/proc.txt | 11 --- fs/proc/array.c| 16 2 files changed, 24

[resend][PATCH v10 1/2] /proc/PID/status: show all sets of pid according to ns

2015-02-22 Thread Chen Hanxiao
-by: Nathan Scott nath...@redhat.com Signed-off-by: Chen Hanxiao chenhanx...@cn.fujitsu.com --- v10: remove trailing space of pid numbers rebased on 3.19 v9: rebased on 3.19-rc1 No change from v4-v8 v3: add another two fielsd: NSpgid and NSsid. v2: add two new fields: NStgid and NSpid. keep

[PATCH v10 2/2] docs: add missing and new /proc/PID/status file entries, fix typos

2015-02-22 Thread Chen Hanxiao
From: Nathan Scott nath...@redhat.com --- Documentation/filesystems/proc.txt | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/Documentation/filesystems/proc.txt b/Documentation/filesystems/proc.txt index a07ba61..6d37062 100644 ---

[resend][PATCH v10 0/2] ns, procfs: pid conversion between ns

2015-02-22 Thread Chen Hanxiao
Chen Hanxiao (1): /proc/PID/status: show all sets of pid according to ns Nathan Scott (1): docs: add missing and new /proc/PID/status file entries, fix typos Documentation/filesystems/proc.txt | 11 --- fs/proc/array.c| 16 2 files changed, 24

RE: [PATCH v10 0/2] ns, procfs: pid conversion between ns

2015-02-11 Thread Chen, Hanxiao
> -Original Message- > From: Chen, Hanxiao/陈 晗霄 > Sent: Wednesday, February 11, 2015 1:52 PM > > > -Original Message- > > From: containers-boun...@lists.linux-foundation.org > > > > Chen Hanxiao (1): > > /proc/PID/status: show all

RE: [PATCH v10 0/2] ns, procfs: pid conversion between ns

2015-02-11 Thread Chen, Hanxiao
-Original Message- From: Chen, Hanxiao/陈 晗霄 Sent: Wednesday, February 11, 2015 1:52 PM -Original Message- From: containers-boun...@lists.linux-foundation.org Chen Hanxiao (1): /proc/PID/status: show all sets of pid according to ns Nathan Scott (1): docs

RE: [PATCH v10 0/2] ns, procfs: pid conversion between ns

2015-02-10 Thread Chen, Hanxiao
> -Original Message- > From: containers-boun...@lists.linux-foundation.org > [mailto:containers-boun...@lists.linux-foundation.org] On Behalf Of Chen > Hanxiao > Sent: Friday, February 06, 2015 6:46 PM > To: Eric W. Biederman; Andrew Morton > Cc: Jonathan Corbet; c

RE: [PATCH v10 0/2] ns, procfs: pid conversion between ns

2015-02-10 Thread Chen, Hanxiao
-Original Message- From: containers-boun...@lists.linux-foundation.org [mailto:containers-boun...@lists.linux-foundation.org] On Behalf Of Chen Hanxiao Sent: Friday, February 06, 2015 6:46 PM To: Eric W. Biederman; Andrew Morton Cc: Jonathan Corbet; contain...@lists.linux

[PATCH v10 1/2] /proc/PID/status: show all sets of pid according to ns

2015-02-06 Thread Chen Hanxiao
, it depends on which pidns are you in. NStgid: 5 1 NSpid: 5 1 NSpgid: 5 1 NSsid: 1 0 ** Views from level 1 Acked-by: Serge Hallyn Acked-by: "Eric W. Biederman" Tested-by: Serge Hallyn Tested-by: Nathan Scott Signed-off-by: Chen Hanxiao --- v10: remov

[PATCH v10 2/2] docs: add missing and new /proc/PID/status file entries, fix typos

2015-02-06 Thread Chen Hanxiao
From: Nathan Scott From: Nathan Scott docs: add missing and new /proc/PID/status file entries, fix typos Signed-off-by: Nathan Scott --- Documentation/filesystems/proc.txt | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/Documentation/filesystems/proc.txt

[PATCH v10 0/2] ns, procfs: pid conversion between ns

2015-02-06 Thread Chen Hanxiao
Chen Hanxiao (1): /proc/PID/status: show all sets of pid according to ns Nathan Scott (1): docs: add missing and new /proc/PID/status file entries, fix typos Documentation/filesystems/proc.txt | 11 --- fs/proc/array.c| 16 2 files changed, 24

[PATCH v10 0/2] ns, procfs: pid conversion between ns

2015-02-06 Thread Chen Hanxiao
Chen Hanxiao (1): /proc/PID/status: show all sets of pid according to ns Nathan Scott (1): docs: add missing and new /proc/PID/status file entries, fix typos Documentation/filesystems/proc.txt | 11 --- fs/proc/array.c| 16 2 files changed, 24

[PATCH v10 2/2] docs: add missing and new /proc/PID/status file entries, fix typos

2015-02-06 Thread Chen Hanxiao
From: Nathan Scott nath...@redhat.com From: Nathan Scott nath...@redhat.com docs: add missing and new /proc/PID/status file entries, fix typos Signed-off-by: Nathan Scott nath...@redhat.com --- Documentation/filesystems/proc.txt | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-)

[PATCH v10 1/2] /proc/PID/status: show all sets of pid according to ns

2015-02-06 Thread Chen Hanxiao
-by: Nathan Scott nath...@redhat.com Signed-off-by: Chen Hanxiao chenhanx...@cn.fujitsu.com --- v10: remove trailing space of pid numbers \t%d - \t%d, rebased on 3.19-rc7 v9: rebased on 3.19-rc1 No change from v4-v8 v3: add another two fielsd: NSpgid and NSsid. v2: add two new fields: NStgid

RE: [resend][PATCH v9 1/3] procfs: show hierarchy of pid namespace

2014-12-29 Thread Chen, Hanxiao
> -Original Message- > From: containers-boun...@lists.linux-foundation.org > [mailto:containers-boun...@lists.linux-foundation.org] On Behalf Of Chen > Hanxiao > Sent: Tuesday, December 23, 2014 6:21 PM > To: Eric W. Biederman; Serge Hallyn; Andrew Morton; Pavel Emely

RE: [resend][PATCH v9 1/3] procfs: show hierarchy of pid namespace

2014-12-29 Thread Chen, Hanxiao
-Original Message- From: containers-boun...@lists.linux-foundation.org [mailto:containers-boun...@lists.linux-foundation.org] On Behalf Of Chen Hanxiao Sent: Tuesday, December 23, 2014 6:21 PM To: Eric W. Biederman; Serge Hallyn; Andrew Morton; Pavel Emelyanov Cc: Richard

[resend][PATCH v9 1/3] procfs: show hierarchy of pid namespace

2014-12-23 Thread Chen Hanxiao
│ ┌──┐ ns4 ns5 ││ 1534 1600 Every pid printed in pidns_hierarchy is the init pid of that pid ns level. Acked-by: Richard Weinberer Signed-off-by: Chen

[resend][PATCH v9 0/3] ns, procfs: pid conversion between ns and showing pidns hierarchy

2014-12-23 Thread Chen Hanxiao
lsd: NSpgid and NSsid. v2: use a procfs text file, replacing dirs under /proc for showing pidns hierarchy; add two new fields: NStgid and NSpid keep fields of Tgid and Pid unchanged for back compatibility. Chen Hanxiao (3): procfs: show hierarchy of pid namespace /proc/PID/status: s

[PATCH v9 3/3] Documentation: add docs for /proc/pidns_hierarchy

2014-12-23 Thread Chen Hanxiao
Signed-off-by: Chen Hanxiao --- Documentation/namespaces/pidns-hierarchy.txt | 51 1 file changed, 51 insertions(+) create mode 100644 Documentation/namespaces/pidns-hierarchy.txt diff --git a/Documentation/namespaces/pidns-hierarchy.txt b/Documentation/namespaces

[resend][PATCH v9 2/3] /proc/PID/status: show all sets of pid according to ns

2014-12-23 Thread Chen Hanxiao
, it depends on which pidns are you in. NStgid: 5 1 NSpid: 5 1 NSpgid: 5 1 NSsid: 1 0 ** Views from level 1 Acked-by: Serge Hallyn Tested-by: Serge Hallyn Signed-off-by: Chen Hanxiao --- v9: rebased on 3.19-rc1 No change from v4-v8 v3: add another two fielsd: NSpgid

[resend][PATCH v9 2/3] /proc/PID/status: show all sets of pid according to ns

2014-12-23 Thread Chen Hanxiao
, it depends on which pidns are you in. NStgid: 5 1 NSpid: 5 1 NSpgid: 5 1 NSsid: 1 0 ** Views from level 1 Acked-by: Serge Hallyn serge.hal...@canonical.com Tested-by: Serge Hallyn serge.hal...@canonical.com Signed-off-by: Chen Hanxiao chenhanx...@cn.fujitsu.com --- v9

[PATCH v9 3/3] Documentation: add docs for /proc/pidns_hierarchy

2014-12-23 Thread Chen Hanxiao
Signed-off-by: Chen Hanxiao chenhanx...@cn.fujitsu.com --- Documentation/namespaces/pidns-hierarchy.txt | 51 1 file changed, 51 insertions(+) create mode 100644 Documentation/namespaces/pidns-hierarchy.txt diff --git a/Documentation/namespaces/pidns-hierarchy.txt

[resend][PATCH v9 1/3] procfs: show hierarchy of pid namespace

2014-12-23 Thread Chen Hanxiao
-by: Richard Weinberer rich...@nod.at Signed-off-by: Chen Hanxiao chenhanx...@cn.fujitsu.com --- v9: fix codes be included if CONFIG_PID_NS=n v8: use max() from kernel.h fix some improper comments v7: change stype to be consistent with current interface like init_PID parent_of_init_PID relative

[resend][PATCH v9 0/3] ns, procfs: pid conversion between ns and showing pidns hierarchy

2014-12-23 Thread Chen Hanxiao
. Chen Hanxiao (3): procfs: show hierarchy of pid namespace /proc/PID/status: show all sets of pid according to ns Documentation: add docs for /proc/pidns_hierarchy Documentation/namespaces/pidns-hierarchy.txt | 51 + fs/proc/Kconfig | 6 + fs/proc

[RESEND][PATCH] userns: use macro instead of magic number for max userns level

2014-12-12 Thread Chen Hanxiao
Use macro instead of magic number for max user namespace level. Acked-by: Serge E. Hallyn Signed-off-by: Chen Hanxiao --- kernel/user_namespace.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kernel/user_namespace.c b/kernel/user_namespace.c index aa312b0..5435489

[RESEND][PATCH] userns: use macro instead of magic number for max userns level

2014-12-12 Thread Chen Hanxiao
Use macro instead of magic number for max user namespace level. Acked-by: Serge E. Hallyn serge.hal...@ubuntu.com Signed-off-by: Chen Hanxiao chenhanx...@cn.fujitsu.com --- kernel/user_namespace.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kernel/user_namespace.c b

RE: [CFT] Can I get some Tested-By's on this series?

2014-12-11 Thread Chen, Hanxiao
> >>> reviewable ways I am hoping/planning to send this to Linus ASAP. > >>> > >>> Eric > >> > >> Is there a git tree we can clone? > > > > I was about to ask that too. > > Hopefully I can tomorrow find some time for testing. > > git pull git.kernel.org:/pub/scm/linux/kernel/git/ebiederm/user-namespace.git > for-testing > > That holds my entire queue of fixes against 3.18-rc6 > Tested on Fedora20 with libvirt 1.2.11, works fine. Tested-by: Chen Hanxiao Thanks, - Chen

RE: [CFT] Can I get some Tested-By's on this series?

2014-12-11 Thread Chen, Hanxiao
-namespace.git for-testing That holds my entire queue of fixes against 3.18-rc6 Tested on Fedora20 with libvirt 1.2.11, works fine. Tested-by: Chen Hanxiao chenhanx...@cn.fujitsu.com Thanks, - Chen

RE: [PATCH v9 1/3] procfs: show hierarchy of pid namespace

2014-12-04 Thread Chen, Hanxiao
> -Original Message- > From: containers-boun...@lists.linux-foundation.org > [mailto:containers-boun...@lists.linux-foundation.org] On Behalf Of Chen > Hanxiao > Sent: Monday, December 01, 2014 7:06 PM > To: Eric W. Biederman; Serge Hallyn; Oleg Nesterov; Richard

RE: [PATCH v9 1/3] procfs: show hierarchy of pid namespace

2014-12-04 Thread Chen, Hanxiao
-Original Message- From: containers-boun...@lists.linux-foundation.org [mailto:containers-boun...@lists.linux-foundation.org] On Behalf Of Chen Hanxiao Sent: Monday, December 01, 2014 7:06 PM To: Eric W. Biederman; Serge Hallyn; Oleg Nesterov; Richard Weinberger; Andrew Morton Cc

[PATCH v9 2/3] /proc/PID/status: show all sets of pid according to ns

2014-12-01 Thread Chen Hanxiao
on which pidns are you in. NStgid: 5 1 NSpid: 5 1 NSpgid: 5 1 NSsid: 1 0 ** Views from level 1 Acked-by: Serge Hallyn Tested-by: Serge Hallyn Signed-off-by: Chen Hanxiao --- No change since v3 v3: add another two fielsd: NSpgid and NSsid. v2: add two new fields: NStgid

[PATCH v9 3/3] Documentation: add docs for /proc/pidns_hierarchy

2014-12-01 Thread Chen Hanxiao
Signed-off-by: Chen Hanxiao --- Documentation/namespaces/pidns-hierarchy.txt | 51 1 file changed, 51 insertions(+) create mode 100644 Documentation/namespaces/pidns-hierarchy.txt diff --git a/Documentation/namespaces/pidns-hierarchy.txt b/Documentation/namespaces

[PATCH v9 1/3] procfs: show hierarchy of pid namespace

2014-12-01 Thread Chen Hanxiao
│ ┌──┐ ns4 ns5 ││ 1534 1600 Every pid printed in pidns_hierarchy is the init pid of that pid ns level. Acked-by: Richard Weinberer Signed-off-by: Chen Hanxiao --- v9

[PATCH v9 0/3] ns, procfs: pid conversion between ns and showing pidns hierarchy

2014-12-01 Thread Chen Hanxiao
der /proc for showing pidns hierarchy; add two new fields: NStgid and NSpid keep fields of Tgid and Pid unchanged for back compatibility. Chen Hanxiao (3): procfs: show hierarchy of pid namespace /proc/PID/status: show all sets of pid according to ns Documentation: add docs for /proc/pidns_

[PATCH v9 1/3] procfs: show hierarchy of pid namespace

2014-12-01 Thread Chen Hanxiao
Weinberer rich...@nod.at Signed-off-by: Chen Hanxiao chenhanx...@cn.fujitsu.com --- v9: fix codes be included if CONFIG_PID_NS=n v8: use max() from kernel.h fix some improper comments v7: change stype to be consistent with current interface like init_PID parent_of_init_PID relative PID level

[PATCH v9 0/3] ns, procfs: pid conversion between ns and showing pidns hierarchy

2014-12-01 Thread Chen Hanxiao
: NSpgid and NSsid. v2: use a procfs text file instead of dirs under /proc for showing pidns hierarchy; add two new fields: NStgid and NSpid keep fields of Tgid and Pid unchanged for back compatibility. Chen Hanxiao (3): procfs: show hierarchy of pid namespace /proc/PID/status: show

[PATCH v9 3/3] Documentation: add docs for /proc/pidns_hierarchy

2014-12-01 Thread Chen Hanxiao
Signed-off-by: Chen Hanxiao chenhanx...@cn.fujitsu.com --- Documentation/namespaces/pidns-hierarchy.txt | 51 1 file changed, 51 insertions(+) create mode 100644 Documentation/namespaces/pidns-hierarchy.txt diff --git a/Documentation/namespaces/pidns-hierarchy.txt

[PATCH v9 2/3] /proc/PID/status: show all sets of pid according to ns

2014-12-01 Thread Chen Hanxiao
on which pidns are you in. NStgid: 5 1 NSpid: 5 1 NSpgid: 5 1 NSsid: 1 0 ** Views from level 1 Acked-by: Serge Hallyn serge.hal...@canonical.com Tested-by: Serge Hallyn serge.hal...@canonical.com Signed-off-by: Chen Hanxiao chenhanx...@cn.fujitsu.com --- No change since v3 v3

RE: [PATCH v8 1/2] procfs: show hierarchy of pid namespace

2014-11-24 Thread Chen, Hanxiao
> -Original Message- > From: Andrew Morton [mailto:a...@linux-foundation.org] > Sent: Friday, November 21, 2014 6:21 AM > To: Richard Weinberger > Cc: Chen, Hanxiao/陈 晗霄; Eric W. Biederman; Serge Hallyn; Oleg Nesterov; > contain...@lists.linux-foundation.org; linux-kern

RE: [PATCH v8 1/2] procfs: show hierarchy of pid namespace

2014-11-24 Thread Chen, Hanxiao
-Original Message- From: Andrew Morton [mailto:a...@linux-foundation.org] Sent: Friday, November 21, 2014 6:21 AM To: Richard Weinberger Cc: Chen, Hanxiao/陈 晗霄; Eric W. Biederman; Serge Hallyn; Oleg Nesterov; contain...@lists.linux-foundation.org; linux-kernel@vger.kernel.org

RE: [PATCH v8 1/2] procfs: show hierarchy of pid namespace

2014-11-20 Thread Chen, Hanxiao
> -Original Message- > From: containers-boun...@lists.linux-foundation.org > [mailto:containers-boun...@lists.linux-foundation.org] On Behalf Of Chen > Hanxiao > Sent: Tuesday, November 18, 2014 5:30 PM > To: Eric W. Biederman; Serge Hallyn; Oleg Nesterov; Richa

RE: [PATCH v8 1/2] procfs: show hierarchy of pid namespace

2014-11-20 Thread Chen, Hanxiao
-Original Message- From: containers-boun...@lists.linux-foundation.org [mailto:containers-boun...@lists.linux-foundation.org] On Behalf Of Chen Hanxiao Sent: Tuesday, November 18, 2014 5:30 PM To: Eric W. Biederman; Serge Hallyn; Oleg Nesterov; Richard Weinberger Cc: contain

[PATCH v8 0/2] ns, procfs: pid conversion between ns and showing pidns hierarchy

2014-11-18 Thread Chen Hanxiao
ew fields: NStgid and NSpid keep fields of Tgid and Pid unchanged for back compatibility. Chen Hanxiao (2): procfs: show hierarchy of pid namespace /proc/PID/status: show all sets of pid according to ns fs/proc/Kconfig | 6 + fs/proc/Makefile | 1 + fs/pro

[PATCH v8 1/2] procfs: show hierarchy of pid namespace

2014-11-18 Thread Chen Hanxiao
│ ┌──┐ ns4 ns5 ││ 1534 1600 Every pid printed in pidns_hierarchy is the init pid of that pid ns level. Signed-off-by: Chen Hanxiao --- v8: fix some improper comments

[PATCH v8 2/2] /proc/PID/status: show all sets of pid according to ns

2014-11-18 Thread Chen Hanxiao
on which pidns are you in. NStgid: 5 1 NSpid: 5 1 NSpgid: 5 1 NSsid: 1 0 ** Views from level 1 Acked-by: Serge Hallyn Tested-by: Serge Hallyn Signed-off-by: Chen Hanxiao --- No change since v3 v3: add another two fielsd: NSpgid and NSsid. v2: add two new fields: NStgid

[PATCH v8 2/2] /proc/PID/status: show all sets of pid according to ns

2014-11-18 Thread Chen Hanxiao
on which pidns are you in. NStgid: 5 1 NSpid: 5 1 NSpgid: 5 1 NSsid: 1 0 ** Views from level 1 Acked-by: Serge Hallyn serge.hal...@canonical.com Tested-by: Serge Hallyn serge.hal...@canonical.com Signed-off-by: Chen Hanxiao chenhanx...@cn.fujitsu.com --- No change since v3 v3

[PATCH v8 1/2] procfs: show hierarchy of pid namespace

2014-11-18 Thread Chen Hanxiao
│ 18102 │ ┌──┐ ns4 ns5 ││ 1534 1600 Every pid printed in pidns_hierarchy is the init pid of that pid ns level. Signed-off-by: Chen

[PATCH v8 0/2] ns, procfs: pid conversion between ns and showing pidns hierarchy

2014-11-18 Thread Chen Hanxiao
instead of dirs under /proc for showing pidns hierarchy; add two new fields: NStgid and NSpid keep fields of Tgid and Pid unchanged for back compatibility. Chen Hanxiao (2): procfs: show hierarchy of pid namespace /proc/PID/status: show all sets of pid according to ns fs/proc

[tip:sched/core] sched: Update comments about CLONE_NEWUTS and CLONE_NEWIPC

2014-11-16 Thread tip-bot for Chen Hanxiao
Commit-ID: f622b429dadf83c3cc2d70f57f407ad85684eb36 Gitweb: http://git.kernel.org/tip/f622b429dadf83c3cc2d70f57f407ad85684eb36 Author: Chen Hanxiao AuthorDate: Tue, 4 Nov 2014 16:51:22 +0800 Committer: Ingo Molnar CommitDate: Sun, 16 Nov 2014 10:58:53 +0100 sched: Update comments

[tip:sched/core] sched: Update comments about CLONE_NEWUTS and CLONE_NEWIPC

2014-11-16 Thread tip-bot for Chen Hanxiao
Commit-ID: f622b429dadf83c3cc2d70f57f407ad85684eb36 Gitweb: http://git.kernel.org/tip/f622b429dadf83c3cc2d70f57f407ad85684eb36 Author: Chen Hanxiao chenhanx...@cn.fujitsu.com AuthorDate: Tue, 4 Nov 2014 16:51:22 +0800 Committer: Ingo Molnar mi...@kernel.org CommitDate: Sun, 16 Nov 2014

RE: [PATCH v7 1/2] procfs: show hierarchy of pid namespace

2014-11-13 Thread Chen, Hanxiao
> -Original Message- > From: Richard Weinberger [mailto:rich...@nod.at] > Sent: Wednesday, November 12, 2014 7:15 PM > To: Chen, Hanxiao/陈 晗霄; Eric W. Biederman; Serge Hallyn; Oleg Nesterov > Cc: contain...@lists.linux-foundation.org; linux-kernel@vger.kernel.org;

RE: [PATCH v7 1/2] procfs: show hierarchy of pid namespace

2014-11-13 Thread Chen, Hanxiao
-Original Message- From: Richard Weinberger [mailto:rich...@nod.at] Sent: Wednesday, November 12, 2014 7:15 PM To: Chen, Hanxiao/陈 晗霄; Eric W. Biederman; Serge Hallyn; Oleg Nesterov Cc: contain...@lists.linux-foundation.org; linux-kernel@vger.kernel.org; David Howells; Richard

[PATCH v7 1/2] procfs: show hierarchy of pid namespace

2014-11-12 Thread Chen Hanxiao
│ ┌──┐ ns4 ns5 ││ 1534 1600 Every pid printed in pidns_hierarchy is the init pid of that pid ns level. Signed-off-by: Chen Hanxiao --- v7: change stype to be consistent

[PATCH v7 2/2] /proc/PID/status: show all sets of pid according to ns

2014-11-12 Thread Chen Hanxiao
on which pidns are you in. NStgid: 5 1 NSpid: 5 1 NSpgid: 5 1 NSsid: 1 0 ** Views from level 1 Acked-by: Serge Hallyn Tested-by: Serge Hallyn Signed-off-by: Chen Hanxiao --- No change since v3 v3: add another two fielsd: NSpgid and NSsid. v2: add two new fields: NStgid

[PATCH v7 0/2] ns, procfs: pid conversion between ns and showing pidns hierarchy

2014-11-12 Thread Chen Hanxiao
unchanged for back compatibility. Chen Hanxiao (2): procfs: show hierarchy of pid namespace /proc/PID/status: show all sets of pid according to ns fs/proc/Kconfig | 6 + fs/proc/Makefile | 1 + fs/proc/array.c | 17 +++ fs/proc/pidns_hierarch

[PATCH v7 2/2] /proc/PID/status: show all sets of pid according to ns

2014-11-12 Thread Chen Hanxiao
on which pidns are you in. NStgid: 5 1 NSpid: 5 1 NSpgid: 5 1 NSsid: 1 0 ** Views from level 1 Acked-by: Serge Hallyn serge.hal...@canonical.com Tested-by: Serge Hallyn serge.hal...@canonical.com Signed-off-by: Chen Hanxiao chenhanx...@cn.fujitsu.com --- No change since v3 v3

[PATCH v7 0/2] ns, procfs: pid conversion between ns and showing pidns hierarchy

2014-11-12 Thread Chen Hanxiao
hierarchy; add two new fields: NStgid and NSpid keep fields of Tgid and Pid unchanged for back compatibility. Chen Hanxiao (2): procfs: show hierarchy of pid namespace /proc/PID/status: show all sets of pid according to ns fs/proc/Kconfig | 6 + fs/proc/Makefile | 1

[PATCH v7 1/2] procfs: show hierarchy of pid namespace

2014-11-12 Thread Chen Hanxiao
│ 18102 │ ┌──┐ ns4 ns5 ││ 1534 1600 Every pid printed in pidns_hierarchy is the init pid of that pid ns level. Signed-off-by: Chen

RE: [PATCH 1/2v6] procfs: show hierarchy of pid namespace

2014-11-06 Thread Chen, Hanxiao
> -Original Message- > From: Mateusz Guzik [mailto:mgu...@redhat.com] > Sent: Wednesday, November 05, 2014 7:54 PM > To: Chen, Hanxiao/陈 晗霄 > Cc: Eric W. Biederman; Serge Hallyn; Oleg Nesterov; > contain...@lists.linux-foundation.org; linux-kernel@vger.kernel.or

RE: [PATCH 1/2v6] procfs: show hierarchy of pid namespace

2014-11-06 Thread Chen, Hanxiao
-Original Message- From: Mateusz Guzik [mailto:mgu...@redhat.com] Sent: Wednesday, November 05, 2014 7:54 PM To: Chen, Hanxiao/陈 晗霄 Cc: Eric W. Biederman; Serge Hallyn; Oleg Nesterov; contain...@lists.linux-foundation.org; linux-kernel@vger.kernel.org; David Howells; Richard

RE: [PATCH 1/2v6] procfs: show hierarchy of pid namespace

2014-11-05 Thread Chen, Hanxiao
> -Original Message- > From: Richard Weinberger [mailto:rich...@nod.at] > Sent: Wednesday, November 05, 2014 8:52 PM > To: Serge E. Hallyn > Cc: Chen, Hanxiao/陈 晗霄; Eric W. Biederman; Serge Hallyn; Oleg Nesterov; > contain...@lists.linux-foundation.org; linux-kern

[PATCH 2/2v6] /proc/PID/status: show all sets of pid according to ns

2014-11-05 Thread Chen Hanxiao
on which pidns are you in. NStgid: 5 1 NSpid: 5 1 NSpgid: 5 1 NSsid: 1 0 ** Views from level 1 Acked-by: Serge Hallyn Tested-by: Serge Hallyn Signed-off-by: Chen Hanxiao --- No change since v3 v3: add another two fielsd: NSpgid and NSsid. v2: add two new fields: NStgid

[PATCH 0/2v6] ns, procfs: pid conversion between ns and showing pidns hierarchy

2014-11-05 Thread Chen Hanxiao
text file instead of dirs under /proc for showing pidns hierarchy; add two new fields: NStgid and NSpid keep fields of Tgid and Pid unchanged for back compatibility. Chen Hanxiao (2): v5 procfs: show hierarchy of pid namespace /proc/PID/status: show all sets of pid according to ns

[PATCH 1/2v6] procfs: show hierarchy of pid namespace

2014-11-05 Thread Chen Hanxiao
│ ┌──┐ ns4 ns5 ││ 1534 1600 Every pid printed in pidns_hierarchy is the init pid of that pid ns level. Signed-off-by: Chen Hanxiao --- v6: fix get_pid leaks and do

[PATCH 1/2v6] procfs: show hierarchy of pid namespace

2014-11-05 Thread Chen Hanxiao
│ ┌──┐ ns4 ns5 ││ 1534 1600 Every pid printed in pidns_hierarchy is the init pid of that pid ns level. Signed-off-by: Chen Hanxiao chenhanx...@cn.fujitsu.com --- v6

[PATCH 0/2v6] ns, procfs: pid conversion between ns and showing pidns hierarchy

2014-11-05 Thread Chen Hanxiao
instead of dirs under /proc for showing pidns hierarchy; add two new fields: NStgid and NSpid keep fields of Tgid and Pid unchanged for back compatibility. Chen Hanxiao (2): v5 procfs: show hierarchy of pid namespace /proc/PID/status: show all sets of pid according to ns fs/proc

[PATCH 2/2v6] /proc/PID/status: show all sets of pid according to ns

2014-11-05 Thread Chen Hanxiao
on which pidns are you in. NStgid: 5 1 NSpid: 5 1 NSpgid: 5 1 NSsid: 1 0 ** Views from level 1 Acked-by: Serge Hallyn serge.hal...@canonical.com Tested-by: Serge Hallyn serge.hal...@canonical.com Signed-off-by: Chen Hanxiao chenhanx...@cn.fujitsu.com --- No change since v3 v3

RE: [PATCH 1/2v6] procfs: show hierarchy of pid namespace

2014-11-05 Thread Chen, Hanxiao
-Original Message- From: Richard Weinberger [mailto:rich...@nod.at] Sent: Wednesday, November 05, 2014 8:52 PM To: Serge E. Hallyn Cc: Chen, Hanxiao/陈 晗霄; Eric W. Biederman; Serge Hallyn; Oleg Nesterov; contain...@lists.linux-foundation.org; linux-kernel@vger.kernel.org; Mateusz

[PATCH] sched: updated comments of CLONE_NEWUTS and CLONE_NEWIPC

2014-11-04 Thread Chen Hanxiao
Remove question mark: s/New utsname group?/New utsname namespace Unified style for IPC: s/New ipcs/New ipc namespace Signed-off-by: Chen Hanxiao --- include/uapi/linux/sched.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/uapi/linux/sched.h b/include/uapi

RE: [PATCHv5] procfs: show hierarchy of pid namespace

2014-11-04 Thread Chen, Hanxiao
> -Original Message- > From: se...@hallyn.com [mailto:se...@hallyn.com] > Sent: Saturday, November 01, 2014 2:31 AM > To: contain...@lists.linux-foundation.org; linux-kernel@vger.kernel.org; Chen, > Hanxiao/陈 晗霄 > Cc: Richard Weinberger; Serge Hallyn; Oleg Nesterov; Ma

RE: [PATCHv5] procfs: show hierarchy of pid namespace

2014-11-04 Thread Chen, Hanxiao
-Original Message- From: se...@hallyn.com [mailto:se...@hallyn.com] Sent: Saturday, November 01, 2014 2:31 AM To: contain...@lists.linux-foundation.org; linux-kernel@vger.kernel.org; Chen, Hanxiao/陈 晗霄 Cc: Richard Weinberger; Serge Hallyn; Oleg Nesterov; Mateusz Guzik; David

[PATCH] sched: updated comments of CLONE_NEWUTS and CLONE_NEWIPC

2014-11-04 Thread Chen Hanxiao
Remove question mark: s/New utsname group?/New utsname namespace Unified style for IPC: s/New ipcs/New ipc namespace Signed-off-by: Chen Hanxiao chenhanx...@cn.fujitsu.com --- include/uapi/linux/sched.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/uapi/linux

[tip:sched/core] sched: Update comments for CLONE_NEWNS

2014-10-28 Thread tip-bot for Chen Hanxiao
Commit-ID: fcd964dda5ece2fa77f78f843bc3455348787282 Gitweb: http://git.kernel.org/tip/fcd964dda5ece2fa77f78f843bc3455348787282 Author: Chen Hanxiao AuthorDate: Tue, 7 Oct 2014 17:29:07 +0800 Committer: Ingo Molnar CommitDate: Tue, 28 Oct 2014 10:46:08 +0100 sched: Update comments

RE: [RESEND][PATCH 0/2v5] ns, procfs: pid conversion between ns and showing pidns hierarchy

2014-10-28 Thread Chen, Hanxiao
> -Original Message- > From: containers-boun...@lists.linux-foundation.org > [mailto:containers-boun...@lists.linux-foundation.org] On Behalf Of Chen > Hanxiao > Sent: Friday, October 24, 2014 6:16 PM > To: contain...@lists.linux-foundation.org; linux-kernel@vger.kernel

RE: [RESEND][PATCH 0/2v5] ns, procfs: pid conversion between ns and showing pidns hierarchy

2014-10-28 Thread Chen, Hanxiao
-Original Message- From: containers-boun...@lists.linux-foundation.org [mailto:containers-boun...@lists.linux-foundation.org] On Behalf Of Chen Hanxiao Sent: Friday, October 24, 2014 6:16 PM To: contain...@lists.linux-foundation.org; linux-kernel@vger.kernel.org Cc: Richard

[tip:sched/core] sched: Update comments for CLONE_NEWNS

2014-10-28 Thread tip-bot for Chen Hanxiao
Commit-ID: fcd964dda5ece2fa77f78f843bc3455348787282 Gitweb: http://git.kernel.org/tip/fcd964dda5ece2fa77f78f843bc3455348787282 Author: Chen Hanxiao chenhanx...@cn.fujitsu.com AuthorDate: Tue, 7 Oct 2014 17:29:07 +0800 Committer: Ingo Molnar mi...@kernel.org CommitDate: Tue, 28 Oct 2014

[RESEND][PATCH 0/2v5] ns, procfs: pid conversion between ns and showing pidns hierarchy

2014-10-24 Thread Chen Hanxiao
showing pidns hierarchy; add two new fields: NStgid and NSpid keep fields of Tgid and Pid unchanged for back compatibility. Chen Hanxiao (2): procfs: show hierarchy of pid namespace /proc/PID/status: show all sets of pid according to ns fs/proc/Kconfig | 6 ++ fs/proc

[RESEND][PATCH 1/2v5] procfs: show hierarchy of pid namespace

2014-10-24 Thread Chen Hanxiao
│ ┌──┐ ns4 ns5 ││ 1534 1600 Every pid printed in pidns_hierarchy is the init pid of that pid ns level. Signed-off-by: Chen Hanxiao --- fs/proc/Kconfig

[RESEND][PATCH 2/2v5] /proc/PID/status: show all sets of pid according to ns

2014-10-24 Thread Chen Hanxiao
on which pidns are you in. NStgid: 5 1 NSpid: 5 1 NSpgid: 5 1 NSsid: 1 0 ** Views from level 1 Acked-by: Serge Hallyn Tested-by: Serge Hallyn Signed-off-by: Chen Hanxiao --- fs/proc/array.c | 17 + 1 file changed, 17 insertions(+) diff --git a/fs/proc

[RESEND][PATCH 2/2v5] /proc/PID/status: show all sets of pid according to ns

2014-10-24 Thread Chen Hanxiao
on which pidns are you in. NStgid: 5 1 NSpid: 5 1 NSpgid: 5 1 NSsid: 1 0 ** Views from level 1 Acked-by: Serge Hallyn serge.hal...@canonical.com Tested-by: Serge Hallyn serge.hal...@canonical.com Signed-off-by: Chen Hanxiao chenhanx...@cn.fujitsu.com --- fs/proc/array.c | 17

[RESEND][PATCH 1/2v5] procfs: show hierarchy of pid namespace

2014-10-24 Thread Chen Hanxiao
│ ┌──┐ ns4 ns5 ││ 1534 1600 Every pid printed in pidns_hierarchy is the init pid of that pid ns level. Signed-off-by: Chen Hanxiao chenhanx...@cn.fujitsu.com

[RESEND][PATCH 0/2v5] ns, procfs: pid conversion between ns and showing pidns hierarchy

2014-10-24 Thread Chen Hanxiao
hierarchy; add two new fields: NStgid and NSpid keep fields of Tgid and Pid unchanged for back compatibility. Chen Hanxiao (2): procfs: show hierarchy of pid namespace /proc/PID/status: show all sets of pid according to ns fs/proc/Kconfig | 6 ++ fs/proc/Makefile

RE: [PATCHv5] procfs: show hierarchy of pid namespace

2014-10-21 Thread Chen, Hanxiao
> -Original Message- > From: containers-boun...@lists.linux-foundation.org > [mailto:containers-boun...@lists.linux-foundation.org] On Behalf Of Chen > Hanxiao > Sent: Thursday, October 16, 2014 8:02 PM > To: contain...@lists.linux-foundation.org; linux-kernel@vg

RE: [PATCHv5] procfs: show hierarchy of pid namespace

2014-10-21 Thread Chen, Hanxiao
-Original Message- From: containers-boun...@lists.linux-foundation.org [mailto:containers-boun...@lists.linux-foundation.org] On Behalf Of Chen Hanxiao Sent: Thursday, October 16, 2014 8:02 PM To: contain...@lists.linux-foundation.org; linux-kernel@vger.kernel.org Cc: Richard

  1   2   >