--- - branch: MAIN date: Fri Dec 6 21:36:11 UTC 2019 files: - new: '1.485' old: '1.484' path: src/sys/kern/kern_exec.c pathrev: src/sys/kern/kern_exec.c@1.485 type: modified - new: '1.278' old: '1.277' path: src/sys/kern/kern_exit.c pathrev: src/sys/kern/kern_exit.c@1.278 type: modified - new: '1.28' old: '1.27' path: src/sys/kern/kern_idle.c pathrev: src/sys/kern/kern_idle.c@1.28 type: modified - new: '1.217' old: '1.216' path: src/sys/kern/kern_lwp.c pathrev: src/sys/kern/kern_lwp.c@1.217 type: modified - new: '1.381' old: '1.380' path: src/sys/kern/kern_sig.c pathrev: src/sys/kern/kern_sig.c@1.381 type: modified - new: '1.54' old: '1.53' path: src/sys/kern/kern_sleepq.c pathrev: src/sys/kern/kern_sleepq.c@1.54 type: modified - new: '1.55' old: '1.54' path: src/sys/kern/kern_softint.c pathrev: src/sys/kern/kern_softint.c@1.55 type: modified - new: '1.329' old: '1.328' path: src/sys/kern/kern_synch.c pathrev: src/sys/kern/kern_synch.c@1.329 type: modified - new: '1.80' old: '1.79' path: src/sys/sys/sched.h pathrev: src/sys/sys/sched.h@1.80 type: modified id: 20191206T213611Z.02d45b98dab2b8cb2839c52a56f24a92bb2e94ad log: | Make it possible to call mi_switch() and immediately switch to another CPU. This seems to take about 3us on my Intel system. Two changes required: - Have the caller to mi_switch() be responsible for calling spc_lock(). - Avoid using l->l_cpu in mi_switch(). While here: - Add a couple of calls to membar_enter() - Have the idle LWP set itself to LSIDL, to match softint_thread(). - Remove unused return value from mi_switch(). module: src subject: 'CVS commit: src/sys' unixtime: '1575668171' user: ad