Subject: struct proc->p_dupfd should be per-lwp?
To: None <tech-kern@netbsd.org>
From: Jaromir Dolecek <jdolecek@netbsd.org>
List: tech-kern
Date: 06/29/2003 18:30:21
Hi,

p_dupfd appears as if it should be per-LWP. It's not supposed
to be shared by all threads within process, it's pertinent to currently
executing caller - i.e. LWP.

Any reason to keep it in struct proc rather than moving to struct lwp?

Jaromir
-- 
Jaromir Dolecek <jdolecek@NetBSD.org>            http://www.NetBSD.cz/
-=- We should be mindful of the potential goal, but as the tantric    -=-
-=- Buddhist masters say, ``You may notice during meditation that you -=-
-=- sometimes levitate or glow.   Do not let this distract you.''     -=-