| From: |
| Pavel Emelyanov <xemul-GEFAQzZX7r8dnm+yROfE0A@public.gmane.org> |
| To: |
| Oleg Nesterov <oleg-6lXkIZvqkOAvJsYlp49lxw@public.gmane.org>, Sukadev Bhattiprolu <sukadev-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>,
Alexey Dobriyan <adobriyan-GEFAQzZX7r8dnm+yROfE0A@public.gmane.org> |
| Subject: |
| [PATCH 0/10] Make bsd process accounting work in pid namespaces |
| Date: |
| Thu, 10 Apr 2008 12:40:07 +0400 |
| Message-ID: |
| <47FDD267.80700@openvz.org> |
| Cc: |
| Linux Containers <containers-qjLDD68F18O7TbgM5vRIOg@public.gmane.org>,
Linux Kernel Mailing List <linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org> |
| Archive-link: |
| Article,
Thread
|
After I fixed access to task->tgid in kernel/acct.c, Oleg
pointed out some bad side effects with this accounting vs
pid namespaces interaction.
So here is the approach to make this accounting work with
pid namespaces properly.
The idea is simple - when task dies it accounts itself in
each namespace it is visible from. That was the summary,
the details are in patches.
Signed-off-by: Pavel Emelyanov <xemul-GEFAQzZX7r8dnm+yROfE0A@public.gmane.org>