Home | History | Annotate | Download | only in kern
History log of /src/sys/kern/kern_cctr.c
RevisionDateAuthorComments
 1.14  05-Oct-2023  riastradh kern_cctr.c: Fix broken indentation.

No functional change intended.
 1.13  04-Oct-2023  ad Eliminate l->l_ncsw and l->l_nivcsw. From memory think they were added
before we had per-LWP struct rusage; the same is now tracked there.
 1.12  10-Oct-2020  thorpej Add some more detail/explanation to the calibration timing diagram.
 1.11  10-Oct-2020  thorpej Fix cycle counter-based time keeping on Alpha in MP environments by using
a simpler calibration algorithm for the CC timecounter. Proposed in 2018
by Naruaki Etomi:

https://mail-index.netbsd.org/tech-kern/2018/01/14/msg022940.html

This patch is largely based on the proposed change, but avoids changing
any other timecounter logic, and re-factors things a bit to keep them
as MI as possible.
 1.10  24-Jun-2019  skrll Fix 'unknown' spellos
 1.9  03-Jan-2009  yamt branches: 1.9.66;
remove extra semicolons.
 1.8  19-May-2008  ad branches: 1.8.6; 1.8.14;
Reduce ifdefs due to MULTIPROCESSOR slightly.
 1.7  28-Apr-2008  martin branches: 1.7.2;
Remove clause 3 and 4 from TNF licenses
 1.6  27-Apr-2008  ad Make preemption safe.
 1.5  05-Apr-2008  tsutsui branches: 1.5.2; 1.5.4;
Allow MD cycle counter routines to pass their own optimized
tc_get_timecount function to MI cc_init().
 1.4  10-Mar-2008  martin Use cpu index instead of the machine dependend, not very expressive
cpuid when naming user-visible kernel entities.
 1.3  08-Nov-2007  drochner branches: 1.3.10; 1.3.14;
fix typo in comment
 1.2  19-Oct-2007  ad branches: 1.2.2;
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
 1.1  21-Jul-2007  tsutsui branches: 1.1.4; 1.1.6; 1.1.8; 1.1.10; 1.1.12; 1.1.16; 1.1.18;
Add sys/kern/kern_cctr.c, which contains MI cpu cyclecounter based
timecounter(9) support functions split out from sys/arch/x86/x86/tsc.c.
Written by and ok'ed to commit by kardel@.

Also add <sys/cctr.h>, which is copied from #ifdef __HAVE_TIMECOUNTER
part of <sys/cc_microtime.h> to migrate MI kern_cctr.c per each port.
 1.1.18.2  21-Jul-2007  tsutsui Add sys/kern/kern_cctr.c, which contains MI cpu cyclecounter based
timecounter(9) support functions split out from sys/arch/x86/x86/tsc.c.
Written by and ok'ed to commit by kardel@.

Also add <sys/cctr.h>, which is copied from #ifdef __HAVE_TIMECOUNTER
part of <sys/cc_microtime.h> to migrate MI kern_cctr.c per each port.
 1.1.18.1  21-Jul-2007  tsutsui file kern_cctr.c was added on branch matt-mips64 on 2007-07-21 11:47:08 +0000
 1.1.16.2  13-Nov-2007  bouyer Sync with HEAD
 1.1.16.1  25-Oct-2007  bouyer Sync with HEAD.
 1.1.12.5  17-Mar-2008  yamt sync with head.
 1.1.12.4  15-Nov-2007  yamt sync with head.
 1.1.12.3  27-Oct-2007  yamt sync with head.
 1.1.12.2  03-Sep-2007  yamt sync with head.
 1.1.12.1  21-Jul-2007  yamt file kern_cctr.c was added on branch yamt-lazymbuf on 2007-09-03 14:40:42 +0000
 1.1.10.3  23-Mar-2008  matt sync with HEAD
 1.1.10.2  09-Jan-2008  matt sync with HEAD
 1.1.10.1  06-Nov-2007  matt sync with HEAD
 1.1.8.3  23-Oct-2007  ad Sync with head.
 1.1.8.2  20-Aug-2007  ad Sync with HEAD.
 1.1.8.1  21-Jul-2007  ad file kern_cctr.c was added on branch vmlocking on 2007-08-20 22:07:05 +0000
 1.1.6.2  15-Aug-2007  skrll Sync with HEAD.
 1.1.6.1  21-Jul-2007  skrll file kern_cctr.c was added on branch nick-csl-alignment on 2007-08-15 13:49:05 +0000
 1.1.4.2  11-Nov-2007  joerg Sync with HEAD.
 1.1.4.1  26-Oct-2007  joerg Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
 1.2.2.1  19-Nov-2007  mjf Sync with HEAD.
 1.3.14.3  17-Jan-2009  mjf Sync with HEAD.
 1.3.14.2  02-Jun-2008  mjf Sync with HEAD.
 1.3.14.1  03-Apr-2008  mjf Sync with HEAD.
 1.3.10.1  24-Mar-2008  keiichi sync with head.
 1.5.4.2  04-May-2009  yamt sync with head.
 1.5.4.1  16-May-2008  yamt sync with head.
 1.5.2.2  04-Jun-2008  yamt sync with head
 1.5.2.1  18-May-2008  yamt sync with head.
 1.7.2.1  23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.8.14.1  05-Feb-2011  cliff - include opt_multiprocessor.h for explicit MULTIPROCESSOR dependency
 1.8.6.1  19-Jan-2009  skrll Sync with HEAD.
 1.9.66.1  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411

RSS XML Feed