- User Since
- May 16 2014, 7:35 PM (257 w, 9 h)
Thu, Apr 18
A version with refcounted text references. vm_map_entry keeps such reference on the lowest object in the shadow chain, which must be vnode or tmpfs swap.
On kern_execve() error path, only call VOP_UNSET_TEXT() when it was set by current thread.
Wed, Apr 17
I wonder if a KPI of the format
struct ifnet *if_alloc_dev(u_char type, dev_t device);
would be more useful. It would hide all NUMA/non-NUMA/bus_get_domain() failed details that driver authors will copy/paste ad infinitum.
Tue, Apr 16
Mon, Apr 15
Sun, Apr 14
I do not see that this could end in anything useful.
Sat, Apr 13
Fri, Apr 12
I would greatly prefer that kern_proc.c provided the services that nfscl used, instead of open-coding. E.g., it would be the 'lock all pidhash chains', and then pfind_locked(). The later can also assert that the hash chain it accesses is locked.
Thu, Apr 11
I still fail to understand why the change is needed.
Wed, Apr 10
Did you tested this with DEBUG_VFS_LOCKS ?
Basically the relock invalidates all benefits of the shared locking.
I did not count exact number of locks you take, but you now lock per segment, and do this more than once. So the number of locks taken is O(num of segments) instead of O(1).
Tue, Apr 9
I do not understand why this patch is needed, and you did not bothered to explain.
Fix two nits according to jhb comments.
Move legacy match to legacy.c as suggested.
Mon, Apr 8
Yes, I will update the patch with removal in a minute.
At least on the machine of the person who reported the problem, there is MCFG table. Chipset MCH is E7500.
Could you add some comments and update summary to explain the design ?