[Devel] Re: [PATCH 0/13] Pid namespaces (OpenVZ view)

Kirill Korotaev dev at sw.ru
Mon May 28 04:50:02 PDT 2007


Pavel Emelianov wrote:

>>> Though I haven't
>>>seen any problems with glibc for many years running OpenVZ and I think,
>>>that if glibc will want to cache this getpid() value we can teach it to
>>>uncache this value in case someone called unshare() with CLONE_NEWPIDS.
>>
>>glibc very much caches the results of getpid().
> 
> 
> Can you prove it? We have run OpenVZ for many years and with many
> userspace configurations and we haven't seen the problems with
> glibc ever.

Pavel, but we always do full namespace entering with fork()'s and such
actions. So we simply couldn't trigger getpid() caching.

Thanks,
Kirill


More information about the Containers mailing list