Re: [PATCH] Fixing soft NFS umount -f, round 5

2015-07-09 Thread Emmanuel Dreyfus
On Wed, Jul 08, 2015 at 06:07:11PM +, Emmanuel Dreyfus wrote: http://ftp.espci.fr/shadow/manu/umount_f4.patch With default values, timeout = 3 and retrans = 10, we now wait for ages or the unmount to completes. In the umount -f case it does not makes sense to wait for too long. Here is

Re: Improving use of rt_refcnt

2015-07-09 Thread Joerg Sonnenberger
On Wed, Jul 08, 2015 at 09:28:01PM -0700, Dennis Ferguson wrote: What this means is that your proposed use of the next hop IP address is a gratuitous indirection; you would be taking something which would be best done as route lookup - L2 header and instead turning this into

Re: mount_checkdirs

2015-07-09 Thread Edgar Fuß
My inclination is that it is wrong [...] It looks strange to me, but that doesn't tell much. Could it have been added as a quick fix for the behaviour of some (then) standard daemon or the like? The logic was added to 4.4 by Kirk McKusick but without much in the way of rationale: Perhaps the

Re: Improving use of rt_refcnt

2015-07-09 Thread Ryota Ozaki
On Thu, Jul 9, 2015 at 1:28 PM, Dennis Ferguson dennis.c.fergu...@gmail.com wrote: On 7 Jul, 2015, at 21:25 , Ryota Ozaki ozak...@netbsd.org wrote: BTW how do you think of separating L2 tables (ARP/NDP) from the L3 routing tables? The separation gets rid of cloning/cloned route features and

Re: Improving use of rt_refcnt

2015-07-09 Thread Mouse
The thing is that pretty much all the networks that were normal in 1980 had disappeared by about 1990, leaving only networks that worked like DIX ethernet. You would think the code would have been restructured for the new normal since then, but I guess old code dies hard. Well, don't forget

Re: Improving use of rt_refcnt

2015-07-09 Thread Joerg Sonnenberger
On Sun, Jul 05, 2015 at 10:33:02PM -0700, Dennis Ferguson wrote: If you don't want it to work this way then you'll need to replace the radix tree with something that permits changes while readers are concurrently operating. To take best advantage of a more modern data structure, however, you

Re: kgdb on amd64

2015-07-09 Thread Patrick Welche
On Thu, Jul 09, 2015 at 04:47:19PM +0100, Patrick Welche wrote: kvtopte() is defined in sys/arch/x86/include/pmap.h: static __inline pt_entry_t * __unused kvtopte(vaddr_t va) { pd_entry_t *pde; KASSERT(va = VM_MIN_KERNEL_ADDRESS); pde = L2_BASE + pl2_i(va); if