Module Name:src
Committed By: ad
Date: Wed Jan 15 18:47:23 UTC 2020
Modified Files:
src/sys/arch/amd64/amd64: locore.S
src/sys/arch/i386/i386: locore.S
Log Message:
Back out the cpu_switchto() workaround now that it's no longer needed.
To generate a diff of this
Module Name:src
Committed By: ad
Date: Thu Jan 16 09:23:43 UTC 2020
Modified Files:
src/common/lib/libc/arch/x86_64/string: memcmp.S
Log Message:
Back out previous, it's broken.
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/common/lib/libc/arch/x86_64/s
Module Name:src
Committed By: ad
Date: Thu Jan 16 16:45:31 UTC 2020
Modified Files:
src/sys/kern [ad-namecache]: vfs_lookup.c
Log Message:
Push the vnode locking in namei() about as far back as it will go.
To generate a diff of this commit:
cvs rdiff -u -r1.212 -r1.212.4
Module Name:src
Committed By: ad
Date: Fri Jan 17 19:30:51 UTC 2020
Modified Files:
src/sys/arch/xen/xen: xbdback_xenbus.c
Log Message:
Acquire kernel_lock in the bp->b_iodone callback.
To generate a diff of this commit:
cvs rdiff -u -r1.72 -r1.73 src/sys/arch/xen/xen/xb
Module Name:src
Committed By: ad
Date: Fri Jan 17 19:31:31 UTC 2020
Modified Files:
src/sys/dev: cgd.c vnd.c
src/sys/dev/ata: ld_ataraid.c
Log Message:
Acquire kernel_lock in the bp->b_iodone callback.
To generate a diff of this commit:
cvs rdiff -u -r1.118 -r1.1
Module Name:src
Committed By: ad
Date: Fri Jan 17 19:33:14 UTC 2020
Modified Files:
src/sys/kern: vfs_bio.c
Log Message:
biodone2(): don't acquire kernel_lock for anybody anymore.
To generate a diff of this commit:
cvs rdiff -u -r1.286 -r1.287 src/sys/kern/vfs_bio.c
Ple
Module Name:src
Committed By: ad
Date: Fri Jan 17 19:56:50 UTC 2020
Modified Files:
src/sys/external/bsd/drm2/dist/drm: drm_gem.c
src/sys/external/bsd/drm2/dist/drm/i915: i915_gem.c i915_gem_fence.c
Log Message:
Apply patch from kamil@: vmobjlock needs to be held f
Module Name:src
Committed By: ad
Date: Fri Jan 17 20:08:10 UTC 2020
Modified Files:
src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_ctldir.c
zfs_vfsops.c
src/sys/coda: coda_vfsops.c coda_vfsops.h coda_vnops.c
src/sys/compat/common: vfs_syscal
Module Name:src
Committed By: ad
Date: Fri Jan 17 20:09:47 UTC 2020
Modified Files:
src/sys/external/bsd/drm2/include/linux: mm.h
Log Message:
set_page_dirty: take the vmobjlock if present
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/external/bsd
Module Name:src
Committed By: ad
Date: Fri Jan 17 20:11:03 UTC 2020
Modified Files:
src/sys/sys: param.h
Log Message:
NetBSD 9.99.39 - VFS changes.
To generate a diff of this commit:
cvs rdiff -u -r1.641 -r1.642 src/sys/sys/param.h
Please note that diffs are not public
Module Name:src
Committed By: ad
Date: Fri Jan 17 20:26:22 UTC 2020
Modified Files:
src/sys/kern: kern_lock.c
Log Message:
kernel_lock:
- Defer setting ci_biglock_wanted for a bit, because if curlwp holds a mutex
or rwlock, and otherlwp is spinning waiting for the mutex
Module Name:src
Committed By: ad
Date: Fri Jan 17 20:27:28 UTC 2020
Modified Files:
src/sys/kern: kern_runq.c
Log Message:
sched_catchlwp(): fix an inverted test that could have caused performance
degradation.
To generate a diff of this commit:
cvs rdiff -u -r1.59 -r1.60
Module Name:src
Committed By: ad
Date: Fri Jan 17 21:14:16 UTC 2020
Modified Files:
src/sys/arch/amd64/include: param.h
Log Message:
Bump UBC_WINSHIFT & UBC_NWINS to more reasonable values for amd64.
To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/sys/a
Module Name:src
Committed By: ad
Date: Fri Jan 17 21:47:38 UTC 2020
Modified Files:
src/sys/arch/aarch64/aarch64 [ad-namecache]: bus_space_asm_generic.S
cpu.c cpufunc.c cpuswitch.S fault.c genassym.cf locore.S pmap.c
src/sys/arch/aarch64/conf [ad-namecac
Module Name:src
Committed By: ad
Date: Fri Jan 17 21:53:01 UTC 2020
Modified Files:
src/sys/kern [ad-namecache]: exec_script.c
Log Message:
LK_SHARED for VOP_ACCESS().
To generate a diff of this commit:
cvs rdiff -u -r1.80 -r1.80.2.1 src/sys/kern/exec_script.c
Please no
Module Name:src
Committed By: ad
Date: Fri Jan 17 21:55:13 UTC 2020
Modified Files:
src/sys/kern [ad-namecache]: vfs_vnode.c
Log Message:
vrelel: don't change the vnode state to VS_BLOCKED for VOP_INACTIVE(), it's
not needed (at least not for the usual case). Will revist
Module Name:src
Committed By: ad
Date: Fri Jan 17 21:54:27 UTC 2020
Modified Files:
src/sys/kern [ad-namecache]: vfs_getcwd.c
Log Message:
- Get shared locks on the directories, except for VOP_GETATTR() which
unfortunately still needs LK_EXCLUSIVE due to itimes handling
Module Name:src
Committed By: ad
Date: Fri Jan 17 22:26:26 UTC 2020
Modified Files:
src/sys/fs/tmpfs [ad-namecache]: tmpfs_subr.c
src/sys/kern [ad-namecache]: vfs_cache.c vfs_lookup.c
src/sys/sys [ad-namecache]: namei.src vnode_impl.h
src/sys/ufs/ffs
Module Name:src
Committed By: ad
Date: Sat Jan 18 13:53:50 UTC 2020
Modified Files:
src/sys/kern: kern_runq.c
Log Message:
sched_bestcpu(): break out of the loop earlier.
To generate a diff of this commit:
cvs rdiff -u -r1.60 -r1.61 src/sys/kern/kern_runq.c
Please note
Module Name:src
Committed By: ad
Date: Sat Jan 18 14:02:18 UTC 2020
Modified Files:
src/sys/dev: md.c
Log Message:
Mark the cdev MPSAFE too.
To generate a diff of this commit:
cvs rdiff -u -r1.82 -r1.83 src/sys/dev/md.c
Please note that diffs are not public domain; they
Module Name:src
Committed By: ad
Date: Sat Jan 18 15:21:32 UTC 2020
Modified Files:
src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_vnops.c
Log Message:
Track page dirtyness for ZFS (yamt-pagecache). I had forgotten that it had
its own cache. Thanks to hannken@ for t
Module Name:src
Committed By: ad
Date: Sat Jan 18 15:42:02 UTC 2020
Modified Files:
src/sys/kern [ad-namecache]: vfs_cache.c
Log Message:
- Adjust comments & assertions.
- Ditch memcmp().
To generate a diff of this commit:
cvs rdiff -u -r1.126.2.6 -r1.126.2.7 src/sys/ker
Module Name:src
Committed By: ad
Date: Sat Jan 18 17:12:59 UTC 2020
Modified Files:
src/sys/kern [ad-namecache]: vnode_if.sh
src/sys/miscfs/genfs [ad-namecache]: genfs_vnops.c
Log Message:
Allow VOP_LOCK(LK_NONE).
To generate a diff of this commit:
cvs rdiff -u -
Module Name:src
Committed By: ad
Date: Sat Jan 18 17:14:13 UTC 2020
Modified Files:
src/sys/kern [ad-namecache]: vnode_if.c
Log Message:
Regen.
To generate a diff of this commit:
cvs rdiff -u -r1.109 -r1.109.2.1 src/sys/kern/vnode_if.c
Please note that diffs are not pub
Module Name:src
Committed By: ad
Date: Sat Jan 18 17:14:35 UTC 2020
Modified Files:
src/sys/sys [ad-namecache]: vnode_if.h
Log Message:
Regen.
To generate a diff of this commit:
cvs rdiff -u -r1.103 -r1.103.2.1 src/sys/sys/vnode_if.h
Please note that diffs are not publi
Module Name:src
Committed By: ad
Date: Sat Jan 18 17:16:20 UTC 2020
Modified Files:
src/sys/kern [ad-namecache]: vfs_cache.c
Log Message:
Fix namecache_print().
To generate a diff of this commit:
cvs rdiff -u -r1.126.2.7 -r1.126.2.8 src/sys/kern/vfs_cache.c
Please note
Module Name:src
Committed By: ad
Date: Sun Jan 19 18:34:24 UTC 2020
Modified Files:
src/sys/kern: kern_rwlock.c
src/sys/sys: rwlock.h
Log Message:
Tidy rwlocks a bit, no functional change intended. Mainly:
- rw_downgrade(): do it in a for () loop like all the oth
Module Name:src
Committed By: ad
Date: Sun Jan 19 19:44:34 UTC 2020
Modified Files:
src/sys/kern [ad-namecache]: kern_rwlock.c
src/sys/sys [ad-namecache]: rwlock.h
Log Message:
Sync with head.
To generate a diff of this commit:
cvs rdiff -u -r1.59.2.1 -r1.59.2.2
Module Name:src
Committed By: ad
Date: Sun Jan 19 21:08:30 UTC 2020
Modified Files:
src/sys/arch/amd64/amd64 [ad-namecache]: genassym.cf lock_stubs.S
src/sys/arch/i386/i386 [ad-namecache]: genassym.cf lock_stubs.S
src/sys/kern [ad-namecache]: kern_rwlock.c k
Module Name:src
Committed By: ad
Date: Sun Jan 19 21:11:00 UTC 2020
Modified Files:
src/sys/arch/amd64/include [ad-namecache]: rwlock.h
src/sys/arch/i386/include [ad-namecache]: rwlock.h
src/sys/arch/x86/include [ad-namecache]: rwlock.h
Log Message:
empty t
Module Name:src
Committed By: ad
Date: Sun Jan 19 21:19:25 UTC 2020
Modified Files:
src/sys/kern [ad-namecache]: vfs_cache.c vfs_getcwd.c vfs_lookup.c
src/sys/sys [ad-namecache]: fstypes.h namei.src
Log Message:
- Add a LOCKSHARED flag to namei (matching FreeBSD) i
Module Name:src
Committed By: ad
Date: Sun Jan 19 21:21:56 UTC 2020
Modified Files:
src/sys/fs/cd9660 [ad-namecache]: cd9660_lookup.c cd9660_vfsops.c
src/sys/fs/msdosfs [ad-namecache]: msdosfs_lookup.c msdosfs_vfsops.c
src/sys/fs/tmpfs [ad-namecache]: tmpfs_
Module Name:src
Committed By: ad
Date: Sun Jan 19 21:23:36 UTC 2020
Modified Files:
src/sys/kern [ad-namecache]: vfs_syscalls.c vfs_vnops.c
Log Message:
Use LOCKLEAF in the few cases it's useful for ffs/tmpfs/nullfs. Others need
to be checked.
To generate a diff of this
Module Name:src
Committed By: ad
Date: Sun Jan 19 21:24:01 UTC 2020
Modified Files:
src/sys/sys [ad-namecache]: namei.h
Log Message:
Regen.
To generate a diff of this commit:
cvs rdiff -u -r1.103.2.3 -r1.103.2.4 src/sys/sys/namei.h
Please note that diffs are not public
Module Name:src
Committed By: ad
Date: Mon Jan 20 18:48:16 UTC 2020
Modified Files:
src/sys/kern: kern_rwlock.c
Log Message:
PR kern/54880: -current hangs in mountroot
- Don't set the RW_NODEBUG flag on init, since assembly stubs can't handle it.
- rw_downgrade(): fix a c
Module Name:src
Committed By: ad
Date: Tue Jan 21 20:29:51 UTC 2020
Modified Files:
src/sys/kern: kern_rwlock.c
src/sys/sys: rwlock.h
Log Message:
Add a rw_owner_running() for the pagedaemon.
To generate a diff of this commit:
cvs rdiff -u -r1.62 -r1.63 src/sys/k
Module Name:src
Committed By: ad
Date: Tue Jan 21 20:31:57 UTC 2020
Modified Files:
src/sys/kern: kern_turnstile.c subr_lockdebug.c
src/sys/sys: lwp.h
Log Message:
ddb's "show all locks":
- Make the output easier to scan quickly.
- Show every LWP that is blocked
Module Name:src
Committed By: ad
Date: Tue Jan 21 20:37:06 UTC 2020
Modified Files:
src/sys/uvm: uvm_page.c uvm_page.h uvm_pdpolicy_clock.c
Log Message:
uvmpdpol_pageactive(): the change to not re-activate recently activated
pages worked great with uvm_pageqlock, but it do
Module Name:src
Committed By: ad
Date: Tue Jan 21 22:08:41 UTC 2020
Modified Files:
src/sys/sys: param.h
Log Message:
NetBSD 9.99.41 - struct lwp changed for LOCKDEBUG
To generate a diff of this commit:
cvs rdiff -u -r1.643 -r1.644 src/sys/sys/param.h
Please note that d
Module Name:src
Committed By: ad
Date: Wed Jan 22 11:40:17 UTC 2020
Modified Files:
src/sys/arch/amd64/amd64 [ad-namecache]: genassym.cf lock_stubs.S
src/sys/arch/amd64/include [ad-namecache]: rwlock.h
src/sys/arch/i386/i386 [ad-namecache]: genassym.cf lock_
Module Name:src
Committed By: ad
Date: Wed Jan 22 12:00:18 UTC 2020
Modified Files:
src/sys/miscfs/genfs [ad-namecache]: genfs_vnops.c
Log Message:
Make sure LK_UPGRADE always comes with LK_NOWAIT; dropping the lock in here
is unclean and I wonder if it could screw over fs
Module Name:src
Committed By: ad
Date: Wed Jan 22 12:04:36 UTC 2020
Modified Files:
src/sys/miscfs/nullfs [ad-namecache]: null_vfsops.c
Log Message:
Copy the IMNT_SHRLOOKUP flag from lowerrootvp's mount.
To generate a diff of this commit:
cvs rdiff -u -r1.96.2.1 -r1.96.2
Module Name:src
Committed By: ad
Date: Wed Jan 22 12:10:46 UTC 2020
Modified Files:
src/sys/kern [ad-namecache]: vfs_lookup.c
Log Message:
Fast-forward through the namecache was stopping one component too soon when
there was an obstacle, e.g. a mountpoint. The obstacle sh
Module Name:src
Committed By: ad
Date: Wed Jan 22 12:23:04 UTC 2020
Modified Files:
src/sys/kern: kern_exit.c kern_lwp.c
src/sys/sys: userret.h
Log Message:
Catch a leaked hold of kernel_lock sooner with DIAGNOSTIC and make the
message a bit more informative.
To
Module Name:src
Committed By: ad
Date: Wed Jan 22 12:44:54 UTC 2020
Modified Files:
src/sys/kern: kern_rwlock.c
Log Message:
Add a comment.
To generate a diff of this commit:
cvs rdiff -u -r1.63 -r1.64 src/sys/kern/kern_rwlock.c
Please note that diffs are not public dom
Module Name:src
Committed By: ad
Date: Wed Jan 22 13:19:33 UTC 2020
Modified Files:
src/sys/kern: kern_lock.c kern_synch.c
Log Message:
- DIAGNOSTIC: check for leaked kernel_lock in mi_switch().
- Now that ci_biglock_wanted is set later, explicitly disable preemption
wh
Module Name:src
Committed By: ad
Date: Wed Jan 22 16:52:46 UTC 2020
Modified Files:
src/sys/arch/amd64/include: param.h vmparam.h
Log Message:
Move the UBC defaults into vmparam.h
To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/sys/arch/amd64/include/pa
Module Name:src
Committed By: ad
Date: Wed Jan 22 16:59:38 UTC 2020
Modified Files:
src/sys/arch/aarch64/include: vmparam.h
src/sys/arch/sparc64/include: vmparam.h
Log Message:
Bump UBC defaults on sparc64 & aarch64, which already have a large pager_map.
To gener
Module Name:src
Committed By: ad
Date: Thu Jan 23 10:05:44 UTC 2020
Modified Files:
src/sys/kern: kern_exec.c
src/sys/sys: exec.h
Log Message:
exec_lock: declare it in the header, and mark with __cachline_aligned.
To generate a diff of this commit:
cvs rdiff -u -
Module Name:src
Committed By: ad
Date: Thu Jan 23 10:21:14 UTC 2020
Modified Files:
src/sys/kern: kern_pax.c kern_sig.c vfs_vnode.c
src/sys/sys: pax.h vnode.h
Log Message:
PAX_SEGVGUARD doesn't seem to work properly in testing for me, but at least
make it not cause
Module Name:src
Committed By: ad
Date: Thu Jan 23 11:17:09 UTC 2020
Modified Files:
src/sys/kern: vfs_vnode.c
Log Message:
#ifdef _KERNEL_OPT for previous
To generate a diff of this commit:
cvs rdiff -u -r1.108 -r1.109 src/sys/kern/vfs_vnode.c
Please note that diffs are
Module Name:src
Committed By: ad
Date: Thu Jan 23 12:17:08 UTC 2020
Modified Files:
src/sys/kern [ad-namecache]: kern_synch.c
Log Message:
Back out previous.
To generate a diff of this commit:
cvs rdiff -u -r1.334.2.2 -r1.334.2.3 src/sys/kern/kern_synch.c
Please note th
Module Name:src
Committed By: ad
Date: Thu Jan 23 12:21:01 UTC 2020
Modified Files:
src/sys/kern [ad-namecache]: vfs_lookup.c
Log Message:
- Change style of new code slightly to match rest of file.
- NFS lookup needs to cross mountpoint too.
- Update comments.
To generat
Module Name:src
Committed By: ad
Date: Thu Jan 23 12:33:18 UTC 2020
Modified Files:
src/sys/kern [ad-namecache]: vfs_cache.c
Log Message:
Update comments.
To generate a diff of this commit:
cvs rdiff -u -r1.126.2.9 -r1.126.2.10 src/sys/kern/vfs_cache.c
Please note that
Module Name:src
Committed By: ad
Date: Thu Jan 23 12:35:23 UTC 2020
Modified Files:
src/sys/kern: kern_mutex.c
Log Message:
Update a comment.
To generate a diff of this commit:
cvs rdiff -u -r1.88 -r1.89 src/sys/kern/kern_mutex.c
Please note that diffs are not public do
Module Name:src
Committed By: ad
Date: Thu Jan 23 17:03:20 UTC 2020
Modified Files:
src/sys/sys: param.h
Log Message:
NetBSD 9.99.42 - struct vnode changed.
To generate a diff of this commit:
cvs rdiff -u -r1.644 -r1.645 src/sys/sys/param.h
Please note that diffs are no
Module Name:src
Committed By: ad
Date: Thu Jan 23 19:28:39 UTC 2020
Modified Files:
src/sys/kern [ad-namecache]: vfs_vnode.c
Log Message:
vcache_reclaim(): purge namecache immediately after setting vnode to
VS_RECLAIMED.
To generate a diff of this commit:
cvs rdiff -u -r
Module Name:src
Committed By: ad
Date: Thu Jan 23 20:44:15 UTC 2020
Modified Files:
src/sys/kern: kern_timeout.c
Log Message:
callout_halt():
- It's a common design pattern for callouts to re-schedule themselves, so
check after waiting and put a stop to it again if need
Module Name:src
Committed By: ad
Date: Thu Jan 23 20:53:33 UTC 2020
Modified Files:
src/sys/kern: vfs_vnode.c
Log Message:
Oops, don't acquire exec_lock while holding a vnode interlock.
To generate a diff of this commit:
cvs rdiff -u -r1.109 -r1.110 src/sys/kern/vfs_vnod
Module Name:src
Committed By: ad
Date: Thu Jan 23 21:23:56 UTC 2020
Modified Files:
src/sys/kern [ad-namecache]: vfs_lookup.c
Log Message:
Improve an assertion.
To generate a diff of this commit:
cvs rdiff -u -r1.212.4.6 -r1.212.4.7 src/sys/kern/vfs_lookup.c
Please note
Module Name:src
Committed By: ad
Date: Thu Jan 23 21:24:54 UTC 2020
Modified Files:
src/sys/sys [ad-namecache]: fstypes.h
Log Message:
Add an IMNT_NCLOOKUP flag to indicate the FS is OK with lookup directly
from cache.
To generate a diff of this commit:
cvs rdiff -u -r1.
Module Name:src
Committed By: ad
Date: Fri Jan 24 10:15:40 UTC 2020
Modified Files:
src/doc: CHANGES
Log Message:
Add some recent changes I made.
To generate a diff of this commit:
cvs rdiff -u -r1.2642 -r1.2643 src/doc/CHANGES
Please note that diffs are not public doma
Module Name:src
Committed By: ad
Date: Fri Jan 24 09:33:42 UTC 2020
Modified Files:
src/doc: TODO
Log Message:
Myself and I think dsl@ looked into sysenter/sysexit in 2007 and while it
was faster, it wasn't worth the trouble.
To generate a diff of this commit:
cvs rdiff
Module Name:src
Committed By: ad
Date: Fri Jan 24 16:05:37 UTC 2020
Modified Files:
src/sys/kern [ad-namecache]: vfs_lookup.c
Log Message:
Add a comment.
To generate a diff of this commit:
cvs rdiff -u -r1.212.4.7 -r1.212.4.8 src/sys/kern/vfs_lookup.c
Please note that d
Module Name:src
Committed By: ad
Date: Fri Jan 24 16:05:23 UTC 2020
Modified Files:
src/sys/kern [ad-namecache]: vfs_subr.c vfs_vnode.c
src/sys/miscfs/genfs [ad-namecache]: genfs_vnops.c
src/sys/sys [ad-namecache]: vnode.h vnode_impl.h
Log Message:
vnodes:
Module Name:src
Committed By: ad
Date: Fri Jan 24 16:49:12 UTC 2020
Modified Files:
src/sys/sys [ad-namecache]: namei.h
Log Message:
Regen.
To generate a diff of this commit:
cvs rdiff -u -r1.103.2.4 -r1.103.2.5 src/sys/sys/namei.h
Please note that diffs are not public
Module Name:src
Committed By: ad
Date: Fri Jan 24 16:48:59 UTC 2020
Modified Files:
src/sys/fs/tmpfs [ad-namecache]: tmpfs_subr.c tmpfs_vfsops.c
src/sys/kern [ad-namecache]: vfs_cache.c
src/sys/sys [ad-namecache]: namei.src
src/sys/ufs/ffs [ad-nameca
Module Name:src
Committed By: ad
Date: Fri Jan 24 20:05:15 UTC 2020
Modified Files:
src/sys/kern: kern_lock.c kern_synch.c
Log Message:
Carefully put kernel_lock back the way it was, and add a comment hinting
that changing it is not a good idea, and hopefully nobody will e
Module Name:src
Committed By: ad
Date: Sat Jan 25 15:08:40 UTC 2020
Modified Files:
src/sys/kern: subr_kmem.c
Log Message:
- Pad kmem cache names with zeros so vmstat -m and -C are readable.
- Exclude caches with size not a factor or multiple of the coherency unit.
Propos
Module Name:src
Committed By: ad
Date: Sat Jan 25 15:09:54 UTC 2020
Modified Files:
src/sys/kern: kern_runq.c
Log Message:
sched_takecpu(): for vfork(), when looking at curcpu's runqueue consider
maximum priority waiting to run and not count of LWPs.
To generate a diff o
Module Name:src
Committed By: ad
Date: Sat Jan 25 15:12:47 UTC 2020
Modified Files:
src/sys/kern: kern_softint.c
Log Message:
softint_execute(): don't hang onto the kernel_lock hold longer than
needed.
To generate a diff of this commit:
cvs rdiff -u -r1.57 -r1.58 src/sys
Module Name:src
Committed By: ad
Date: Sat Jan 25 15:38:24 UTC 2020
Modified Files:
src/sys/arch/x86/x86: vm_machdep.c
Log Message:
cpu_lwp_free() can be called with (l != curlwp) in error paths, so don't
detonate.
To generate a diff of this commit:
cvs rdiff -u -r1.40 -
Module Name:src
Committed By: ad
Date: Sat Jan 25 15:41:52 UTC 2020
Modified Files:
src/lib/libpthread: pthread.c
src/sys/compat/netbsd32: netbsd32_lwp.c
src/sys/kern: sys_lwp.c
src/sys/sys: lwp.h
Log Message:
- Fix a race between the kernel and lib
Module Name:src
Committed By: ad
Date: Sat Jan 25 15:54:04 UTC 2020
Modified Files:
src/sys/compat/netbsd32 [ad-namecache]: netbsd32_fs.c
src/sys/kern [ad-namecache]: kern_exec.c kern_proc.c uipc_usrreq.c
vfs_cwd.c vfs_getcwd.c vfs_lookup.c vfs_mount.c v
Module Name:src
Committed By: ad
Date: Sat Jan 25 17:58:28 UTC 2020
Modified Files:
src/lib/libpthread: pthread_mutex.c
Log Message:
pthread__mutex_unlock_slow(): ignore the DEFERRED bit. It's only purpose
is to get the thread to go through the slow path. If there are wa
Module Name:src
Committed By: ad
Date: Sat Jan 25 18:01:28 UTC 2020
Modified Files:
src/lib/libpthread: pthread.c
Log Message:
pthread_exit(): it looks there there is at least one path through which
a thread can exit with waiters still hanging off it (cancellation when
wai
Module Name:src
Committed By: ad
Date: Sat Jan 25 18:30:41 UTC 2020
Modified Files:
src/lib/libpthread: pthread_mutex.c
Log Message:
Adjustment to previous: don't call _lwp_unpark_all() with nwaiters == 0.
To generate a diff of this commit:
cvs rdiff -u -r1.67 -r1.68 src
Module Name:src
Committed By: ad
Date: Sat Jan 25 18:42:24 UTC 2020
Modified Files:
src/sys/kern [ad-namecache]: vfs_cwd.c
Log Message:
Add a missing membar to previous.
To generate a diff of this commit:
cvs rdiff -u -r1.4.62.1 -r1.4.62.2 src/sys/kern/vfs_cwd.c
Please
Module Name:src
Committed By: ad
Date: Sat Jan 25 20:29:43 UTC 2020
Modified Files:
src/sys/kern: kern_idle.c
Log Message:
For secondary CPUs, the idle LWP is the first to run, and it's directly
entered from MD code without a trip through mi_switch(). Make the picture
loo
Module Name:src
Committed By: ad
Date: Sat Jan 25 21:45:00 UTC 2020
Modified Files:
src/sys/kern [ad-namecache]: kern_rwlock.c kern_synch.c
src/sys/rump/include/rump [ad-namecache]: rump_namei.h
src/sys/sys [ad-namecache]: rwlock.h
Log Message:
Remove unint
Module Name:src
Committed By: ad
Date: Sat Jan 25 22:38:53 UTC 2020
Modified Files:
src/sys/arch/aarch64/aarch64 [ad-namecache]: aarch64_machdep.c cpu.c
locore.S start.S
src/sys/arch/aarch64/conf [ad-namecache]: files.aarch64
src/sys/arch/aarch64
Module Name:src
Committed By: ad
Date: Sun Jan 26 18:52:55 UTC 2020
Modified Files:
src/sys/kern: kern_softint.c
Log Message:
softint_dispatch(): replace the KASSERT for LW_RUNNING with a big printf()
plus panic() that dumps lots of info.
To generate a diff of this commi
Module Name:src
Committed By: ad
Date: Sun Jan 26 19:01:56 UTC 2020
Modified Files:
src/sys/kern: kern_sleepq.c
src/sys/sys: syncobj.h
Log Message:
Add SOBJ_SLEEPQ_NULL: means there is no TAILQ and the caller tracks the
sleeping LWPs some other way, which sleepq_*(
Module Name:src
Committed By: ad
Date: Sun Jan 26 19:06:24 UTC 2020
Modified Files:
src/sys/kern: kern_lwp.c
Log Message:
Update a comment.
To generate a diff of this commit:
cvs rdiff -u -r1.220 -r1.221 src/sys/kern/kern_lwp.c
Please note that diffs are not public doma
Module Name:src
Committed By: ad
Date: Sun Jan 26 19:08:09 UTC 2020
Modified Files:
src/sys/compat/netbsd32: netbsd32_lwp.c
src/sys/kern: sys_lwp.c
Log Message:
Correction to previous: don't leak newuc if copyout() fails.
To generate a diff of this commit:
cvs rd
Module Name:src
Committed By: ad
Date: Mon Jan 27 20:50:05 UTC 2020
Modified Files:
src/lib/libpthread: pthread.c pthread_int.h
Log Message:
pthread_detach(), pthread_join(): go back to using _lwp_detach() and
_lwp_wait(), rather than doing it all in userspace. There's l
Module Name:src
Committed By: ad
Date: Mon Jan 27 21:05:43 UTC 2020
Modified Files:
src/sys/kern: kern_lock.c
src/sys/sys: lock.h
Log Message:
Add a kernel_lock_plug_leak() that drops any holds and tries to identify
the baddy.
To generate a diff of this commit:
c
Module Name:src
Committed By: ad
Date: Mon Jan 27 21:09:33 UTC 2020
Modified Files:
src/sys/kern: kern_exit.c
Log Message:
- exit1(): for DIAGNOSTIC, call kernel_lock_plug_leak() (temporary).
- exit_lwps(): call lwp_need_userret() or LWP might never notice.
To generate
Module Name:src
Committed By: ad
Date: Mon Jan 27 21:58:16 UTC 2020
Modified Files:
src/sys/kern: kern_lwp.c
Log Message:
- lwp_wait(): if the process is exiting and no progress is being made, wake
every clock tick and kick all the LWPs again.
- lwp_create(): copy the L
Module Name:src
Committed By: ad
Date: Mon Jan 27 22:06:13 UTC 2020
Modified Files:
src/sys/lib/libkern/arch/i386: Makefile.inc
src/sys/lib/libkern/arch/x86_64: Makefile.inc
Log Message:
Make x86 use the C version of memcmp().
To generate a diff of this commit:
c
Module Name:src
Committed By: ad
Date: Mon Jan 27 22:09:21 UTC 2020
Removed Files:
src/common/lib/libc/arch/i386/string: memcmp.S
src/common/lib/libc/arch/x86_64/string: bcmp.S memcmp.S
Log Message:
x86 uses the C versions of bcmp() and memcmp() now.
To generate
Module Name:src
Committed By: ad
Date: Mon Jan 27 22:08:08 UTC 2020
Modified Files:
src/lib/libc/arch/i386/string: Makefile.inc
src/lib/libc/arch/x86_64/string: Makefile.inc
Log Message:
Make x86 use the C versions of bcmp() and memcmp().
To generate a diff of th
Module Name:src
Committed By: ad
Date: Mon Jan 27 22:05:10 UTC 2020
Modified Files:
src/sys/kern: sys_sched.c
Log Message:
Remove comment that is out of date and I think hinting at something other
than what it says (preemption case for SCHED_FIFO).
To generate a diff of
Module Name:src
Committed By: ad
Date: Mon Jan 27 22:13:39 UTC 2020
Modified Files:
src/common/lib/libc/string: bcmp.c memcmp.c
Log Message:
bcmp() / memcmp(): compare in uintptr_t sized chunks when it's easy to.
To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.
Module Name:src
Committed By: ad
Date: Mon Jan 27 22:22:03 UTC 2020
Modified Files:
src/common/lib/libc/string: bcmp.c memcmp.c
Log Message:
Drop the alignment check if __NO_STRICT_ALIGNMENT (x86, m68k, vax).
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 sr
Module Name:src
Committed By: ad
Date: Tue Jan 28 09:23:15 UTC 2020
Modified Files:
src/lib/libpthread: pthread.c
Log Message:
pthread_join(): add a temporary hack to make lib/libpthread/t_detach pass.
The correct fix is to do this in kernel (I have that change, but it's p
Module Name:src
Committed By: ad
Date: Tue Jan 28 13:08:40 UTC 2020
Modified Files:
src/lib/libpthread: pthread_int.h
Log Message:
- A bit more alignment in __pthread_st especially for the rbtree node.
- Use COHERENCY_UNIT from sys/param.h.
To generate a diff of this com
Module Name:src
Committed By: ad
Date: Tue Jan 28 16:33:34 UTC 2020
Modified Files:
src/common/lib/libc/gen: radixtree.c
src/sys/sys: radixtree.h
Log Message:
Add a radix_tree_await_memory(), for kernel use.
To generate a diff of this commit:
cvs rdiff -u -r1.21
Module Name:src
Committed By: ad
Date: Tue Jan 28 16:35:39 UTC 2020
Modified Files:
src/sys/kern: init_main.c
Log Message:
Call radix_tree_init() earlier, so more stuff can make use of radixtree.
To generate a diff of this commit:
cvs rdiff -u -r1.518 -r1.519 src/sys/ker
Module Name:src
Committed By: ad
Date: Tue Jan 28 16:40:27 UTC 2020
Modified Files:
src/sys/sys: lwp.h types.h
Log Message:
Put pri_t back to an int. It looks like there might be a sign extension
issue somewhere but it's not worth the hassle trying to find it.
To genera
301 - 400 of 714 matches
Mail list logo