Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys



Module Name:    src
Committed By:   ad
Date:           Sat Nov 23 19:42:52 UTC 2019

Modified Files:
        src/sys/compat/linux/common: linux_sched.c
        src/sys/kern: kern_exec.c kern_fork.c kern_idle.c kern_kthread.c
            kern_lwp.c kern_runq.c kern_sleepq.c kern_softint.c kern_synch.c
            sched_4bsd.c sys_aio.c sys_lwp.c
        src/sys/rump/librump/rumpkern: scheduler.c
        src/sys/sys: cpu.h lwp.h sched.h

Log Message:
Minor scheduler cleanup:

- Adapt to cpu_need_resched() changes. Avoid lost & duplicate IPIs and ASTs.
  sched_resched_cpu() and sched_resched_lwp() contain the logic for this.
- Changes for LSIDL to make the locking scheme match the intended design.
- Reduce lock contention and false sharing further.
- Numerous small bugfixes, including some corrections for SCHED_FIFO/RT.
- Use setrunnable() in more places, and merge cut & pasted code.


To generate a diff of this commit:
cvs rdiff -u -r1.72 -r1.73 src/sys/compat/linux/common/linux_sched.c
cvs rdiff -u -r1.483 -r1.484 src/sys/kern/kern_exec.c
cvs rdiff -u -r1.215 -r1.216 src/sys/kern/kern_fork.c
cvs rdiff -u -r1.25 -r1.26 src/sys/kern/kern_idle.c
cvs rdiff -u -r1.43 -r1.44 src/sys/kern/kern_kthread.c
cvs rdiff -u -r1.211 -r1.212 src/sys/kern/kern_lwp.c
cvs rdiff -u -r1.47 -r1.48 src/sys/kern/kern_runq.c
cvs rdiff -u -r1.52 -r1.53 src/sys/kern/kern_sleepq.c
cvs rdiff -u -r1.49 -r1.50 src/sys/kern/kern_softint.c
cvs rdiff -u -r1.325 -r1.326 src/sys/kern/kern_synch.c
cvs rdiff -u -r1.35 -r1.36 src/sys/kern/sched_4bsd.c
cvs rdiff -u -r1.44 -r1.45 src/sys/kern/sys_aio.c
cvs rdiff -u -r1.70 -r1.71 src/sys/kern/sys_lwp.c
cvs rdiff -u -r1.44 -r1.45 src/sys/rump/librump/rumpkern/scheduler.c
cvs rdiff -u -r1.43 -r1.44 src/sys/sys/cpu.h
cvs rdiff -u -r1.189 -r1.190 src/sys/sys/lwp.h
cvs rdiff -u -r1.76 -r1.77 src/sys/sys/sched.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index