Re: struct ifnet and ifaddr handling [was: Re: Making global variables of if.c MPSAFE]

2014-08-04 Thread Ryota Ozaki
On Mon, Aug 4, 2014 at 8:21 AM, Mindaugas Rasiukevicius rm...@netbsd.org wrote: Ryota Ozaki ozak...@netbsd.org wrote: Hi, This is another work toward MPSAFE networking. sys/net/if.c contains several global variables (e.g., ifnet_list) that should be protected from parallel accesses somehow

MAP_INHERIT_ZERO and core dumps

2014-08-04 Thread Taylor R Campbell
Now that we have MAP_INHERIT_ZERO, would it make sense to zero regions mapped with it in core dumps, or would that be too much abuse of the semantics?