Re: svn commit: r349029 - head/sys/kern

2019-06-14 Thread Bruce Evans
On Fri, 14 Jun 2019, Alexander Motin wrote: On 14.06.2019 08:58, Bruce Evans wrote: On Fri, 14 Jun 2019, Alexander Motin wrote: Log: ??Update td_runtime of running thread on each statclock(). ??Normally td_runtime is updated on context switch, but there are some kernel ??threads that due to

Re: svn commit: r349029 - head/sys/kern

2019-06-14 Thread Alexander Motin
Hi Bruce, On 14.06.2019 08:58, Bruce Evans wrote: > On Fri, 14 Jun 2019, Alexander Motin wrote: > >> Log: >>  Update td_runtime of running thread on each statclock(). >> >>  Normally td_runtime is updated on context switch, but there are some >> kernel >>  threads that due to high absolute priori

Re: svn commit: r349029 - head/sys/kern

2019-06-14 Thread Bruce Evans
On Fri, 14 Jun 2019, Alexander Motin wrote: Log: Update td_runtime of running thread on each statclock(). Normally td_runtime is updated on context switch, but there are some kernel threads that due to high absolute priority may run for many seconds without context switches (yes, that is ba

svn commit: r349029 - head/sys/kern

2019-06-13 Thread Alexander Motin
Author: mav Date: Fri Jun 14 01:09:10 2019 New Revision: 349029 URL: https://svnweb.freebsd.org/changeset/base/349029 Log: Update td_runtime of running thread on each statclock(). Normally td_runtime is updated on context switch, but there are some kernel threads that due to high absolute