[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)
On Thu, Jun 17, 2010 at 03:27:06PM +0100, Mindaugas Rasiukevicius wrote:
> 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()?
good point. moving that into lwp_exit() sounds fine, I'll do that.
an updated diff (with this plus the p_lock changes) is at the usual
Main Index |
Thread Index |