Caching of PID/TID after fork
Robert Święcki
robert@swiecki.net
Thu Oct 6 17:03:00 GMT 2016
3. Provide clone() wrapper, which doesn't impose additional
restrictions over kernel's __NR_clone and which updates the TID/PID
cache.
2016-10-06 18:33 GMT+02:00 Paul Pluzhnikov <ppluzhnikov@google.com>:
> On Thu, Oct 6, 2016 at 9:13 AM, Robert Święcki <robert@swiecki.net> wrote:
>
>> This has probably been debated a lot of times in the past, but...
>
> We should probably mention that caching of PID has caused bugs in the past, e.g.
> https://sourceware.org/bugzilla/show_bug.cgi?id=19957
> https://sourceware.org/ml/libc-alpha/2006-07/msg00123.html
>
> There is also
> http://www.eglibc.org/archives/issues/msg00061.html
> http://yarchive.net/comp/linux/getpid_caching.html
>
> --
> Paul Pluzhnikov
--
Robert Święcki
More information about the Libc-alpha
mailing list