Module Name:src
Committed By: kamil
Date: Tue Jun 2 16:45:42 UTC 2020
Modified Files:
src/sys/kern: makesyscalls.sh
Log Message:
Respect syscall aliases in the rump code
With this change rump_sys_*() matches *() from the usually libc entry point.
To generate a diff of
Module Name:src
Committed By: kamil
Date: Tue Jun 2 13:49:15 UTC 2020
Modified Files:
src/sys/kern: makesyscalls.sh
Log Message:
Synchronize struct name in rump_syscalls.c and syscallargs.h
Whenever a syscall has alias name, the struct sys_ names shall be the same.
To
Module Name:src
Committed By: rin
Date: Tue Jun 2 02:04:35 UTC 2020
Modified Files:
src/sys/kern: kern_timeout.c
Log Message:
Appease clang -Wtentative-definition-incomplete-type.
Now, both kernel and crash(8) build with clang for amd64
(and certainly other ports also).
Module Name:src
Committed By: thorpej
Date: Mon Jun 1 13:58:14 UTC 2020
Modified Files:
src/sys/kern: kern_lwp.c
Log Message:
lwp_thread_cleanup(): Remove overly-aggressive assertion.
To generate a diff of this commit:
cvs rdiff -u -r1.239 -r1.240 src/sys/kern/kern_lwp.
Module Name:src
Committed By: rin
Date: Sun May 31 23:24:20 UTC 2020
Modified Files:
src/sys/kern: kern_timeout.c
Log Message:
Stop allocating buffers dynamically in a DDB session, in order not to
disturb on-going debugged state of kernel datastructures.
Since DDB is runn
Module Name:src
Committed By: rin
Date: Sun May 31 09:59:37 UTC 2020
Modified Files:
src/sys/kern: kern_timeout.c
Log Message:
Switch to db_alloc() from kmem_intr_alloc(9).
Fix build failure as a part of crash(8).
Noticed by tnn@, thanks!
To generate a diff of this comm
Module Name:src
Committed By: rin
Date: Sun May 31 08:33:48 UTC 2020
Modified Files:
src/sys/kern: kern_timeout.c
Log Message:
db_show_callout(): struct callout_cpu and cpu_info are too much for stack.
XXX
DDB can be running in the interrupt context, e.g., when activated
Module Name:src
Committed By: ad
Date: Sat May 30 20:23:25 UTC 2020
Modified Files:
src/sys/kern: vfs_lookup.c
Log Message:
Fix merge error - adjust assertions.
To generate a diff of this commit:
cvs rdiff -u -r1.221 -r1.222 src/sys/kern/vfs_lookup.c
Please note that di
Module Name:src
Committed By: ad
Date: Sat May 30 18:06:17 UTC 2020
Modified Files:
src/sys/kern: vfs_cache.c
Log Message:
cache_lookup_linked():
- If the lookup fails return with the same lock held. There's no bug here
because either parent or child's lock is sufficie
Module Name:src
Committed By: thorpej
Date: Sat May 30 16:12:56 UTC 2020
Modified Files:
src/sys/kern: core_elf32.c
Log Message:
coredump_note_elf{32,64}(): avoid allcating register state buffers on
the stack; they could be large.
To generate a diff of this commit:
cvs r
Module Name:src
Committed By: ad
Date: Thu May 28 20:29:18 UTC 2020
Modified Files:
src/sys/kern: kern_cpu.c
Log Message:
At least panic with a useful message if there are too many CPUs.
To generate a diff of this commit:
cvs rdiff -u -r1.90 -r1.91 src/sys/kern/kern_cpu.
Module Name:src
Committed By: rin
Date: Wed May 27 09:09:50 UTC 2020
Modified Files:
src/sys/kern: kern_tc.c
Log Message:
- remove #ifdef __FreeBSD__
- return (x) --> return x
No binary changes this time, trust me ;).
To generate a diff of this commit:
cvs rdiff -u -r1.
Module Name:src
Committed By: rin
Date: Wed May 27 08:55:18 UTC 2020
Modified Files:
src/sys/kern: kern_tc.c
Log Message:
Oops, put back opt_ntp.h for options PPS_{SYNC,DEBUG}.
To generate a diff of this commit:
cvs rdiff -u -r1.57 -r1.58 src/sys/kern/kern_tc.c
Please n
Module Name:src
Committed By: rin
Date: Wed May 27 08:51:03 UTC 2020
Modified Files:
src/sys/kern: kern_tc.c
Log Message:
- kern_tc.c does not depend on "options NTP"
- u_int64_t --> uint64_t
No binary changes.
To generate a diff of this commit:
cvs rdiff -u -r1.56 -r1.
Module Name:src
Committed By: rin
Date: Wed May 27 08:47:15 UTC 2020
Modified Files:
src/sys/kern: kern_tc.c
Log Message:
Tiny optimization; timecounters should not go bad ~ every ticktock.
To generate a diff of this commit:
cvs rdiff -u -r1.55 -r1.56 src/sys/kern/kern_t
Module Name:src
Committed By: kamil
Date: Tue May 26 23:08:56 UTC 2020
Modified Files:
src/sys/kern: sys_ptrace_common.c
Log Message:
Avoid taking lwp_lock when calling process_sstep() for sibling LWPs
This makes the code consistend between single-threaded and multi-threa
Module Name:src
Committed By: ad
Date: Tue May 26 18:38:37 UTC 2020
Modified Files:
src/sys/kern: vfs_cache.c vfs_lookup.c vfs_subr.c vfs_vnode.c
Log Message:
Make vcache_tryvget() lockless. Reviewed by hannken@.
To generate a diff of this commit:
cvs rdiff -u -r1.143 -
Module Name:src
Committed By: thorpej
Date: Mon May 25 21:05:01 UTC 2020
Modified Files:
src/sys/kern: subr_autoconf.c
Log Message:
Remove support for the !DVF_PRIV_ALLOC case; device_t and driver private
storage separation are now mandatory.
To generate a diff of this c
Module Name:src
Committed By: ad
Date: Sat May 23 22:16:17 UTC 2020
Modified Files:
src/sys/kern: tty_ptm.c
Log Message:
PR kern/55237: Panic: vrelel: bad ref count (9.99.54)
Adjust v_writecount with v_interlock held.
To generate a diff of this commit:
cvs rdiff -u -r1.
Module Name:src
Committed By: ad
Date: Sat May 23 21:24:41 UTC 2020
Modified Files:
src/sys/kern: kern_runq.c sched_4bsd.c sched_m2.c
Log Message:
Oops. If a SCHED_RR thread is preempted and has exceeded its timeslice it
needs to go to the back of the run queue so round-r
Module Name:src
Committed By: ad
Date: Sat May 23 21:14:56 UTC 2020
Modified Files:
src/sys/kern: kern_runq.c
Log Message:
sched_bestcpu(): There is a fallback CPU, in case the user manages to set
the system up so no CPU is permitted to run a given LWP. Fix a bug where
th
Module Name:src
Committed By: rmind
Date: Sat May 23 19:52:12 UTC 2020
Modified Files:
src/sys/kern: subr_thmap.c
Log Message:
thmap(9): merge changes from the upstream -- primarily, switch to the
C11-style memory fences and atomic primitives; in NetBSD, this translates
to
Module Name:src
Committed By: thorpej
Date: Thu May 21 00:39:04 UTC 2020
Modified Files:
src/sys/kern: kern_sleepq.c
Log Message:
In sleepq_insert(), in the SOBJ_SLEEPQ_SORTED case, if there are existing
waiters of lower priority, then the new LWP will be inserted in FIFO
Module Name:src
Committed By: maxv
Date: Wed May 20 20:59:31 UTC 2020
Modified Files:
src/sys/kern: kern_synch.c
Log Message:
future-proof-ness
To generate a diff of this commit:
cvs rdiff -u -r1.347 -r1.348 src/sys/kern/kern_synch.c
Please note that diffs are not publi
Module Name:src
Committed By: hannken
Date: Mon May 18 08:30:06 UTC 2020
Modified Files:
src/sys/kern: vnode_if.c
Log Message:
Regen.
To generate a diff of this commit:
cvs rdiff -u -r1.111 -r1.112 src/sys/kern/vnode_if.c
Please note that diffs are not public domain; th
Module Name:src
Committed By: hannken
Date: Mon May 18 08:29:34 UTC 2020
Modified Files:
src/sys/kern: vnode_if.src
Log Message:
VOP_STRATEGY() may still deadlock with devices.
Change FSTRANS from LAZY to NO.
To generate a diff of this commit:
cvs rdiff -u -r1.79 -r1.80
Module Name:src
Committed By: hannken
Date: Mon May 18 08:27:54 UTC 2020
Modified Files:
src/sys/kern: vfs_vnode.c
Log Message:
vrele_flush(): yield() every 100ms like we do it in vflush().
To generate a diff of this commit:
cvs rdiff -u -r1.121 -r1.122 src/sys/kern/vfs_
Module Name:src
Committed By: ad
Date: Sun May 17 19:34:07 UTC 2020
Modified Files:
src/sys/kern: vfs_trans.c
Log Message:
Reorganise the locking and allocation of fstrans_lwp_info slightly, to
reduce contention. "please go ahead" hannken@.
To generate a diff of this co
Module Name:src
Committed By: hannken
Date: Sat May 16 17:42:07 UTC 2020
Modified Files:
src/sys/kern: subr_kcov.c
Log Message:
Add __diagused, amd64 kernel ALL compiles again.
To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/kern/subr_kcov.c
Please
Module Name:src
Committed By: maxv
Date: Fri May 15 07:47:54 UTC 2020
Modified Files:
src/sys/kern: subr_msan.c
Log Message:
Use a generic description when scanning mbufs.
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/kern/subr_msan.c
Please note
Module Name:src
Committed By: maxv
Date: Thu May 14 18:18:24 UTC 2020
Modified Files:
src/sys/kern: kern_time.c
Log Message:
Fix uninitialized memory access. Found by KMSAN.
Reported-by: syzbot+9f2a173d29d66c88f...@syzkaller.appspotmail.com
To generate a diff of this co
Module Name:src
Committed By: maxv
Date: Thu May 14 17:01:34 UTC 2020
Modified Files:
src/sys/kern: subr_kmem.c
Log Message:
KASSERT -> panic
To generate a diff of this commit:
cvs rdiff -u -r1.79 -r1.80 src/sys/kern/subr_kmem.c
Please note that diffs are not public dom
Module Name:src
Committed By: ad
Date: Tue May 12 21:56:17 UTC 2020
Modified Files:
src/sys/kern: kern_mutex.c
Log Message:
PR kern/55251 (use of ZFS may trigger kernel memory corruption (KASAN error))
Previous wasn't quite right. Redo it differently - disable preemption
Module Name:src
Committed By: ad
Date: Tue May 12 21:24:30 UTC 2020
Modified Files:
src/sys/kern: kern_mutex.c
Log Message:
PR kern/55251: use of ZFS may trigger kernel memory corruption
mutex_vector_enter(): reload mtx_owner with preemption disabled before
calling mutex_
Module Name:src
Committed By: riastradh
Date: Tue May 12 20:50:17 UTC 2020
Modified Files:
src/sys/kern: kern_entropy.c
Log Message:
Don't invoke callbacks of rndsources with collection disabled.
To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/sys/kern/
Module Name:src
Committed By: jdolecek
Date: Tue May 12 10:02:56 UTC 2020
Modified Files:
src/sys/kern: kern_pmf.c
Log Message:
need to take IFNET_LOCK() around if_stop (on suspend) and if_init (on resume)
calls, those need to read and/or manipulate if_flags and hence need
Module Name:src
Committed By: riastradh
Date: Mon May 11 21:40:12 UTC 2020
Modified Files:
src/sys/kern: subr_cprng.c
Log Message:
Remove cprng initialization order hack.
cprng_init now runs early enough that the hack should no longer be
needed to address PR port-arm32/55
Module Name:src
Committed By: riastradh
Date: Mon May 11 21:38:54 UTC 2020
Modified Files:
src/sys/kern: init_main.c subr_cprng.c
Log Message:
Move cprng_init before configure.
This makes it available to device drivers, e.g. to generate MAC
addresses at random, without in
Module Name:src
Committed By: riastradh
Date: Mon May 11 21:37:31 UTC 2020
Modified Files:
src/sys/kern: subr_percpu.c
Log Message:
Teach percpu to run constructors on CPU attach.
This should make percpu work reliably for things like cprng_strong
much earlier -- not just
Module Name:src
Committed By: riastradh
Date: Mon May 11 17:27:48 UTC 2020
Modified Files:
src/sys/kern: subr_cprng.c
Log Message:
Work around early calls to cprng_strong.
The bottleneck here is getting percpu_create to work early enough.
We should really fix that, but fo
Module Name:src
Committed By: riastradh
Date: Sun May 10 02:56:12 UTC 2020
Modified Files:
src/sys/kern: kern_entropy.c
Log Message:
Make rndctl -E/-C reset entropy accounting.
If we don't trust a source, it's unreasonable to trust any entropy it
previously provided, and
Module Name:src
Committed By: riastradh
Date: Sun May 10 01:29:40 UTC 2020
Modified Files:
src/sys/kern: kern_entropy.c
Log Message:
Fix comments.
To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/sys/kern/kern_entropy.c
Please note that diffs are not pu
Module Name:src
Committed By: riastradh
Date: Sun May 10 00:08:12 UTC 2020
Modified Files:
src/sys/kern: kern_entropy.c
Log Message:
Use a temporary pool to consolidate entropy atomically.
There was a low-probability race with the entropy consolidation
logic: calls to ent
Module Name:src
Committed By: riastradh
Date: Sat May 9 06:12:32 UTC 2020
Modified Files:
src/sys/kern: kern_entropy.c
Log Message:
Prune dead branch.
To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/kern/kern_entropy.c
Please note that diffs are n
Module Name:src
Committed By: kamil
Date: Fri May 8 10:35:51 UTC 2020
Modified Files:
src/sys/kern: sys_ptrace_common.c
Log Message:
Clear PSL_TRACEDCHILD on ptrace(PT_DETACH)
This avoids potential race of detaching and attaching to a prestarted
process and receiving SIG
Module Name:src
Committed By: riastradh
Date: Fri May 8 00:54:44 UTC 2020
Modified Files:
src/sys/kern: kern_entropy.c
Log Message:
Eliminate curcpu_available() hack.
The entropy subsystem is no longer used before curcpu() and curlwp
are available on x86.
To generate a
Module Name:src
Committed By: riastradh
Date: Fri May 8 00:53:25 UTC 2020
Modified Files:
src/sys/kern: kern_entropy.c
Log Message:
Make curcpu_available() always true.
This should work now that x86 runs cpu_init_rng just after curcpu()
and curlwp are initialized, and no
Module Name:src
Committed By: riastradh
Date: Thu May 7 19:07:29 UTC 2020
Modified Files:
src/sys/kern: kern_entropy.c
Log Message:
Print `entropy: ready' only when we first have full entropy.
Now that we consolidate entropy in rndctl -L and equivalent, not just
when the
Module Name:src
Committed By: riastradh
Date: Thu May 7 00:55:13 UTC 2020
Modified Files:
src/sys/kern: kern_entropy.c
Log Message:
Fix two mistakes in entropy accounting.
1. When consolidating entropy from per-CPU pools, drop the amount
pending to zero; otherwise the
Module Name:src
Committed By: riastradh
Date: Wed May 6 18:31:05 UTC 2020
Modified Files:
src/sys/kern: kern_entropy.c
Log Message:
Don't reject seed file entropy estimates, until one is nonzero.
We try to avoid counting the seed file's entropy twice, e.g. once
from the
Module Name:src
Committed By: ad
Date: Tue May 5 22:12:07 UTC 2020
Modified Files:
src/sys/kern: sys_lwp.c
Log Message:
lwp_unpark(): no need to acquire LWP refs or drop the proc lock.
On the hacky benchmarks I have, held over from the transition to 1:1
threading, this r
Module Name:src
Committed By: jdolecek
Date: Tue May 5 20:36:48 UTC 2020
Modified Files:
src/sys/kern: uipc_mbuf.c
Log Message:
fix KASSERT() for MHLEN case in m_defrag() - network stack usually does
m_adj(ETHER_ALIGN) so check that the mbuf chain data fits
M_LEADINGSPACE
Module Name:src
Committed By: riastradh
Date: Tue May 5 15:31:42 UTC 2020
Modified Files:
src/sys/kern: kern_entropy.c
Log Message:
New sysctl kern.entropy.gather=1 to trigger entropy gathering.
Invokes all on-demand RNG sources. This enables HWRNG driver
developers to
Module Name:src
Committed By: riastradh
Date: Tue May 5 15:23:32 UTC 2020
Modified Files:
src/sys/kern: sys_futex.c
Log Message:
Revert "Make sure futex waits never return ERESTART."
Part of redoing the timedwaitclock changes, which were buggy and
committed a little too
Module Name:src
Committed By: riastradh
Date: Mon May 4 13:58:48 UTC 2020
Modified Files:
src/sys/kern: uipc_sem.c
Log Message:
Release the collision if we find one.
Candidate fix for:
panic: lock error: Mutex: mutex_vector_enter,542: locking against myself: lock
0xfff
Module Name:src
Committed By: riastradh
Date: Sun May 3 06:33:59 UTC 2020
Modified Files:
src/sys/kern: kern_entropy.c
Log Message:
Initialize struct krndsource::total to zero.
Avoids bogus counts reported by `rndctl -l' in the event that the
caller neglected to zero the
Module Name:src
Committed By: riastradh
Date: Sun May 3 01:26:39 UTC 2020
Modified Files:
src/sys/kern: sys_futex.c
Log Message:
Make sure futex waits never return ERESTART.
If the user had passed in a relative timeout, this would have the
effect of waiting for the full
Module Name:src
Committed By: riastradh
Date: Sun May 3 01:19:47 UTC 2020
Modified Files:
src/sys/kern: kern_condvar.c
Log Message:
Fix edge cases in cv_timedwaitbt, cv_timedwaitbt_sig.
- If the timeout is exactly zero, fail immediately with EWOULDBLOCK.
- If the timeou
Module Name:src
Committed By: martin
Date: Sat May 2 09:13:40 UTC 2020
Modified Files:
src/sys/kern: kern_lock.c
Log Message:
Fix inverted condition in r1.136 - we do want LOCKDEBUG spinouts of the
kernel lock to assert as soon as we have userland running - not in
the ear
Module Name:src
Committed By: hannken
Date: Fri May 1 08:45:01 UTC 2020
Modified Files:
src/sys/kern: vfs_mount.c
Log Message:
Undo Rev. 1.79, it breaks root-on-raid where it destroys the component
disks before the raid:
forcefully unmounting / (/dev/raid0a)...
sd1:
Module Name:src
Committed By: riastradh
Date: Fri May 1 01:31:17 UTC 2020
Modified Files:
src/sys/kern: kern_entropy.c
Log Message:
Fix sense of conditional in previous.
I must have tested (cold ? (void *)1 : curlwp) but then decided,
after testing, to replace cold by !c
Module Name:src
Committed By: skrll
Date: Thu Apr 30 20:54:27 UTC 2020
Modified Files:
src/sys/kern: kern_softint.c
Log Message:
Trailing whitespace
To generate a diff of this commit:
cvs rdiff -u -r1.64 -r1.65 src/sys/kern/kern_softint.c
Please note that diffs are not
Module Name:src
Committed By: riastradh
Date: Thu Apr 30 20:06:40 UTC 2020
Modified Files:
src/sys/kern: kern_entropy.c
Log Message:
Mark rnd_sources_locked __diagused -- only for KASSERTs.
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/kern/kern_ent
Module Name:src
Committed By: riastradh
Date: Thu Apr 30 19:34:37 UTC 2020
Modified Files:
src/sys/kern: kern_entropy.c
Log Message:
curlwp may not be available early enough for kern_entropy.c.
Fortunately, we're just using it to print helpful diagnostic messages
in kasse
Module Name:src
Committed By: nia
Date: Thu Apr 30 17:36:06 UTC 2020
Modified Files:
src/sys/kern: subr_cprng.c
Log Message:
Make kern.arandom truncate the output instead of failing with ETOOBIG
when the requested data exceeds 256 bytes in size. The actual size of
the retu
Module Name:src
Committed By: riastradh
Date: Thu Apr 30 17:16:00 UTC 2020
Modified Files:
src/sys/kern: kern_entropy.c
Log Message:
Missed a spot! (Part II(b) of no percpu_foreach under spin lock.)
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/ker
Module Name:src
Committed By: riastradh
Date: Thu Apr 30 16:50:01 UTC 2020
Modified Files:
src/sys/kern: kern_entropy.c
Log Message:
Lock the rndsource list without E->lock for ioctls too.
Use the same mechanism as entropy_request, with a little more
diagnostic informatio
Module Name:src
Committed By: riastradh
Date: Thu Apr 30 16:43:12 UTC 2020
Modified Files:
src/sys/kern: kern_entropy.c
Log Message:
Avoid calling entropy_pending() with E->lock held.
This is part I of avoiding percpu_foreach with spin lock held.
To generate a diff of t
Module Name:src
Committed By: riastradh
Date: Thu Apr 30 03:42:23 UTC 2020
Modified Files:
src/sys/kern: kern_entropy.c
Log Message:
Accept both byte orders for random seed in the kernel.
The file format was defined with a machine-dependent 32-bit integer
field (the estim
Module Name:src
Committed By: thorpej
Date: Wed Apr 29 01:53:48 UTC 2020
Modified Files:
src/sys/kern: sys_sched.c
Log Message:
Sanitize the pid and lid arguments passed to do_sched_getparam()
and sys__sched_getaffinity() now that -1 as the pid argument to
lwp_find2() mean
Module Name:src
Committed By: riastradh
Date: Tue Apr 28 16:22:25 UTC 2020
Modified Files:
src/sys/kern: sys_futex.c
Log Message:
Fix waiting on a zero bitset.
The logic in futex_wait assumes there are two paths out:
1. Error (signal or timeout), in which case we take ou
Module Name:src
Committed By: riastradh
Date: Tue Apr 28 00:54:24 UTC 2020
Modified Files:
src/sys/kern: sys_futex.c
Log Message:
Rename futex_get -> futex_lookup_create. Remove futex_put.
Just use futex_rele instead of futex_put. There may once have been a
method to th
Module Name:src
Committed By: riastradh
Date: Mon Apr 27 23:54:43 UTC 2020
Modified Files:
src/sys/kern: sys_futex.c
Log Message:
Fix races in aborted futex waits.
- Re-check the wake condition in futex_wait in the event of error.
=> Otherwise, if futex_wait times out i
Module Name:src
Committed By: jdolecek
Date: Mon Apr 27 07:51:03 UTC 2020
Modified Files:
src/sys/kern: vfs_bio.c
Log Message:
pass B_PHYS|B_RAW also in nestio_setup(), courtesy to e.g. xbd(4), which
wants to know whether the buf came from user space or bio subsystem
To
Module Name:src
Committed By: thorpej
Date: Mon Apr 27 05:28:18 UTC 2020
Modified Files:
src/sys/kern: sys_futex.c
Log Message:
We would have bigger problems if PAGE_SIZE were < sizeof(int). Remove
a CTASSERT() that can't be evaluated at compile-time on all platforms.
T
Module Name:src
Committed By: mlelstv
Date: Sun Apr 26 21:04:46 UTC 2020
Modified Files:
src/sys/kern: sys_futex.c
Log Message:
fix DIAGNOSTIC build
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/kern/sys_futex.c
Please note that diffs are not publi
Module Name:src
Committed By: thorpej
Date: Sun Apr 26 19:15:55 UTC 2020
Modified Files:
src/sys/kern: syscalls.master
Log Message:
Due to a collision with another upcoming change, relocate the futex calls
to the 3 free slots at 166-168.
To generate a diff of this commit
Module Name:src
Committed By: thorpej
Date: Sun Apr 26 15:49:10 UTC 2020
Modified Files:
src/sys/kern: kern_proc.c
Log Message:
In expand_pid_table(), calculate the current pid table size before
releasing the lock.
To generate a diff of this commit:
cvs rdiff -u -r1.248
Module Name:src
Committed By: jakllsch
Date: Sun Apr 26 14:21:14 UTC 2020
Modified Files:
src/sys/kern: uipc_socket.c
Log Message:
Implement SCTP bug fixes found by maxv@.
Adding these seems to improve the SCTP situation.
To generate a diff of this commit:
cvs rdiff -u
Module Name:src
Committed By: thorpej
Date: Sat Apr 25 17:43:23 UTC 2020
Modified Files:
src/sys/kern: kern_threadpool.c
Log Message:
Take the ASSERT_SLEEPABLE() out of threadpool_cancel_job() and add a
comment explaining why we can't make that assertion there.
To genera
Module Name:src
Committed By: jdolecek
Date: Sat Apr 25 11:03:04 UTC 2020
Modified Files:
src/sys/kern: uipc_mbuf.c
Log Message:
in m_defrag() must copy data elsewhere before adding cluster, the
data part of mbuf gets reused and hence overwritten by extbuf
To generate a
Module Name:src
Committed By: jdolecek
Date: Fri Apr 24 22:50:55 UTC 2020
Modified Files:
src/sys/kern: uipc_mbuf.c
Log Message:
add KASSERT() that the while data buffer in a mbuf or the mbuf
cluster fits within the same page
pools actually never return items whose memory
Module Name:src
Committed By: jdolecek
Date: Fri Apr 24 22:07:13 UTC 2020
Modified Files:
src/sys/kern: uipc_mbuf.c
Log Message:
change m_defrag() to coalesce the chain to single mbuf if it's short enough
and first mbuf doesn't use external storage
most fragmented packets
Module Name:src
Committed By: thorpej
Date: Fri Apr 24 05:21:18 UTC 2020
Modified Files:
src/sys/kern: kern_proc.c
Log Message:
Make sure PT_F_* bits are uintptr_t.
To generate a diff of this commit:
cvs rdiff -u -r1.247 -r1.248 src/sys/kern/kern_proc.c
Please note that
Module Name:src
Committed By: ad
Date: Thu Apr 23 22:58:36 UTC 2020
Modified Files:
src/sys/kern: vfs_cache.c
Log Message:
cache_lookup_linked(): We can't use the name to decide how to lock the dir,
since the name refers to the child (found object) not the parent (the thin
Module Name:src
Committed By: rin
Date: Thu Apr 23 03:15:47 UTC 2020
Modified Files:
src/sys/kern: kern_crashme.c
Log Message:
Fix outdated comment. We've enabled crashme for non-DEBUG kernels.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/kern/kern
Module Name:src
Committed By: ad
Date: Wed Apr 22 21:35:52 UTC 2020
Modified Files:
src/sys/kern: vfs_cache.c vfs_lookup.c
Log Message:
lookup_fastforward(): handle dotdot lookups and give up less often in
the union mount case.
To generate a diff of this commit:
cvs rdif
Module Name:src
Committed By: rin
Date: Wed Apr 22 09:18:42 UTC 2020
Modified Files:
src/sys/kern: files.kern
Log Message:
At the moment, we need kern/uipc_mbufdebug.c only if DDB is enabled.
To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 src/sys/kern/file
Module Name:src
Committed By: ad
Date: Tue Apr 21 17:50:19 UTC 2020
Modified Files:
src/sys/kern: subr_vmem.c
Log Message:
vmem_list_lock needs to be an adaptive lock. Fixes LOCKDEBUG panic.
To generate a diff of this commit:
cvs rdiff -u -r1.102 -r1.103 src/sys/kern/su
Module Name:src
Committed By: maxv
Date: Mon Apr 20 16:32:03 UTC 2020
Modified Files:
src/sys/kern: kern_proc.c
Log Message:
Add three KASSERTs, to detect refcount bugs.
This narrows down an unknown bug in some place near, that has manifested
itself in various forms (use-
Module Name:src
Committed By: christos
Date: Mon Apr 20 00:34:58 UTC 2020
Modified Files:
src/sys/kern: vfs_xattr.c
Log Message:
Fix the ktrace calls, the data is in user space.
To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/sys/kern/vfs_xattr.c
Pleas
Module Name:src
Committed By: ad
Date: Sun Apr 19 23:05:05 UTC 2020
Modified Files:
src/sys/kern: kern_lwp.c
Log Message:
lwp_wait(): don't need to check for process exit, cv_wait_sig() does it.
To generate a diff of this commit:
cvs rdiff -u -r1.233 -r1.234 src/sys/kern
Module Name:src
Committed By: ad
Date: Sun Apr 19 21:55:37 UTC 2020
Modified Files:
src/sys/kern: subr_vmem.c
Log Message:
comment
To generate a diff of this commit:
cvs rdiff -u -r1.101 -r1.102 src/sys/kern/subr_vmem.c
Please note that diffs are not public domain; they
Module Name:src
Committed By: hannken
Date: Sun Apr 19 13:26:18 UTC 2020
Modified Files:
src/sys/kern: vfs_mount.c
Log Message:
Destroy anonymous device vnodes on reboot once the last file system
got unmounted and the mount list is empty.
PR kern/54969: Disk cache is no l
Module Name:src
Committed By: hannken
Date: Sun Apr 19 13:25:00 UTC 2020
Modified Files:
src/sys/kern: vfs_vnode.c
Log Message:
Take some pressure from vdrain lock:
- Use cv_signal() instead of cv_broadcast(), there is only one waiter.
- No need to signal if number of vno
Module Name:src
Committed By: maxv
Date: Wed Apr 15 17:28:26 UTC 2020
Modified Files:
src/sys/kern: subr_csan.c
Log Message:
Drop the todo and qualify the accesses.
To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/kern/subr_csan.c
Please note that dif
Module Name:src
Committed By: kamil
Date: Tue Apr 14 22:42:18 UTC 2020
Modified Files:
src/sys/kern: kern_exec.c kern_fork.c
Log Message:
Set p_oppid always, not just when a parent is traced
PR kern/55151 by Martin Husemann
To generate a diff of this commit:
cvs rdiff -
Module Name:src
Committed By: maxv
Date: Mon Apr 13 16:09:22 UTC 2020
Modified Files:
src/sys/kern: kern_runq.c
Log Message:
Use relaxed atomics on spc_mcount.
To generate a diff of this commit:
cvs rdiff -u -r1.66 -r1.67 src/sys/kern/kern_runq.c
Please note that diffs
Module Name:src
Committed By: christos
Date: Sun Apr 12 22:06:18 UTC 2020
Modified Files:
src/sys/kern: syscalls.master
Log Message:
put back the MODULAR attributes accidentally removed.
To generate a diff of this commit:
cvs rdiff -u -r1.300 -r1.301 src/sys/kern/syscall
Module Name:src
Committed By: christos
Date: Sun Apr 12 19:56:14 UTC 2020
Modified Files:
src/sys/kern: vfs_vnops.c
Log Message:
Oops missed one more NULL -> NOCRED
To generate a diff of this commit:
cvs rdiff -u -r1.209 -r1.210 src/sys/kern/vfs_vnops.c
Please note that
201 - 300 of 2561 matches
Mail list logo