OpenVZ Forum


Home » Mailing lists » Devel » [RFC][PATCH 4/6] Initialize struct pid_nr for swapper
Re: [RFC][PATCH 4/6] Initialize struct pid_nr for swapper [message #17704 is a reply to message #17655] Sun, 11 March 2007 18:17 Go to previous messageGo to previous message
ebiederm is currently offline  ebiederm
Messages: 1354
Registered: February 2006
Senior Member
Herbert Poetzl <herbert@13thfloor.at> writes:

> okay, then please lets make sure that this actually
> works, because I think it might solve most of the
> lightweight guest issues the suggested pid spaces
> would introduce ...
>
> I tried that some time back, but the procfs really
> provides _a lot_ of deep linked details for each
> process, and I postponed that approach back then
> when I realized that I would have to fill in quite
> a lot of static data to make procfs happy (with a
> static inizialized fake init)

Ok.  I now see what the real question is.  The idle thread never shows
up in /proc so I don't know if this is quite complete.  The bits we
fill in are designed to be enough for fork/clone and other pieces
so we don't need special cases in the code to deal with the idle thread.

I think the idle thread quite possibly has enough information to show
up in /proc but that is a separate case.

Definitely something to discuss when we come back to unshare of the
pid namespace.

Eric
_______________________________________________
Containers mailing list
Containers@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/containers
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [RFC][PATCH 5/6] Define helper functions to unshare pid namespace
Next Topic: [RFC][PATCH 1/6] Add struct pid_nr
Goto Forum:
  


Current Time: Sat Oct 11 16:12:11 GMT 2025

Total time taken to generate the page: 0.20847 seconds