Current has issues with unmount?

2015-06-29 Thread Martin Husemann
A -current as of earlier this morning has issues with running the kernel/t_umount tests for me - seems to be race, and when we loose, the unmount process hangs unkillable (with some locked vnode, i.e. you better do not try to run df(1) when it hangs). Martin

Re: Guidelines for choosing MACHINE MACHINE_ARCH?

2015-06-29 Thread Andrew Cagney
On 24 June 2015 at 23:38, David Holland dholland-t...@netbsd.org wrote: On Wed, Jun 24, 2015 at 04:01:24PM -0700, Matt Thomas wrote: I agree that evb* is confusing and increasingly meaningless and would like to see us transition away from it. I contend that moving to sys/arch/cpu

Re: Current has issues with unmount?

2015-06-29 Thread Emmanuel Dreyfus
Martin Husemann mar...@duskware.de wrote: A -current as of earlier this morning has issues with running the kernel/t_umount tests for me - seems to be race, and when we loose, the unmount process hangs unkillable (with some locked vnode, i.e. you better do not try to run df(1) when it hangs).

Removing ifnet_addrs

2015-06-29 Thread Ryota Ozaki
Hi, ifnet_addrs is a global data used to look up an ifaddr of an interface via ifp-if_index, i.e., we can get an ifaddr via ifnet_addrs[ifp-if_index]. As looking at if.c, I notice that ifnet_addrs[ifp-if_index] is always the same as ifp-if_dl. So we can use ifp-if_dl instead of

Brainy: Same Runtime Branches in arm

2015-06-29 Thread Maxime Villard
Hi, -- sys/arch/arm/arm/cpufunc.c -- 2309 } else if ((fault_instruction 0x0e00) == 0x0c00) { [...] } else if ((fault_instruction 0x0e00) == 0x0c00) return ABORT_FIXUP_FAILED;

Re: Current has issues with unmount?

2015-06-29 Thread Emmanuel Dreyfus
Martin Husemann mar...@duskware.de wrote: Cause - I don't think so. It probably has made the race conditions more likely to fail. This is not obvious: unmount(2) performs a VFS_SYNC before VFS_UNMOUNT, hence the sync(2) call in umount(8) was supposed to be useless. I haven't been able to

Re: Guidelines for choosing MACHINE MACHINE_ARCH?

2015-06-29 Thread Martin Husemann
On Mon, Jun 29, 2015 at 03:05:07PM -0400, Andrew Cagney wrote: - allow finer grained machines or platforms so I can have ./build.sh -m rpi do the right thing It allows aliases, so this would probaly a one line change (though you'd still get more build than only the RPI kernel). Allowing the

Re: Current has issues with unmount?

2015-06-29 Thread Martin Husemann
On Mon, Jun 29, 2015 at 09:21:39PM +0200, Emmanuel Dreyfus wrote: The test uses umount(8). I recently removed a sync() before unmount() in umount(8) because it broke umount -f for a gone NFS server. Could it be the cause? Cause - I don't think so. It probably has made the race conditions