pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: updating COMPAT_LINUX for linux 2.6.x support (take 2)



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


Home | Main Index | Thread Index | Old Index