tech-kern 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)

On Thu, Jun 17, 2010 at 03:27:06PM +0100, Mindaugas Rasiukevicius wrote:
> Chuck Silvers <> wrote:
> > 
> > the updated diff is at:
> >
> > 
> 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


Home | Main Index | Thread Index | Old Index