Chuck Silvers <chuq%chuq.com@localhost> wrote: > > the updated diff is at: > ftp://ftp.netbsd.org/pub/NetBSD/misc/chs/linux/diff.linux-nptl-take2.39 > The emulation hook, which performs proc_free_pid(l->l_lid), is called before LWP gets removed from the global list - so there is a small window where LID uniqueness is not preserved. How about adding LP_LIDPID flag and moving proc_free_pid() into lwp_exit(), which makes it symmetric with lwp_create()? -- Mindaugas