History log of /freebsd/sys/kern/kern_tc.c (Results 251 – 275 of 545)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: release/4.3.0_cvs, release/4.3.0
# 8eb6e436 02-Jan-2001 Poul-Henning Kamp <phk@FreeBSD.org>

Remove a bogus #ifdef KTR stanza.

Noticed by: Alexander Langer <alex@big.endian.de>


Revision tags: release/4.2.0, release/4.1.1_cvs
# 0384fff8 07-Sep-2000 Jason Evans <jasone@FreeBSD.org>

Major update to the way synchronization is done in the kernel. Highlights
include:

* Mutual exclusion is used instead of spl*(). See mutex(9). (Note: The
alpha port is still in transition and c

Major update to the way synchronization is done in the kernel. Highlights
include:

* Mutual exclusion is used instead of spl*(). See mutex(9). (Note: The
alpha port is still in transition and currently uses both.)

* Per-CPU idle processes.

* Interrupts are run in their own separate kernel threads and can be
preempted (i386 only).

Partially contributed by: BSDi (BSD/OS)
Submissions by (at least): cp, dfr, dillon, grog, jake, jhb, sheldonh

show more ...


Revision tags: release/4.1.0
# 77978ab8 04-Jul-2000 Poul-Henning Kamp <phk@FreeBSD.org>

Previous commit changing SYSCTL_HANDLER_ARGS violated KNF.

Pointed out by: bde


# 82d9ae4e 03-Jul-2000 Poul-Henning Kamp <phk@FreeBSD.org>

Style police catches up with rev 1.26 of src/sys/sys/sysctl.h:

Sanitize SYSCTL_HANDLER_ARGS so that simplistic tools can grog our
sources:

-sysctl_vm_zone SYSCTL_HANDLER_ARGS
+sysct

Style police catches up with rev 1.26 of src/sys/sys/sysctl.h:

Sanitize SYSCTL_HANDLER_ARGS so that simplistic tools can grog our
sources:

-sysctl_vm_zone SYSCTL_HANDLER_ARGS
+sysctl_vm_zone (SYSCTL_HANDLER_ARGS)

show more ...


Revision tags: release/3.5.0_cvs
# 91266b96 20-Mar-2000 Poul-Henning Kamp <phk@FreeBSD.org>

Isolate the Timecounter internals in their own two files.

Make the public interface more systematically named.

Remove the alternate method, it doesn't do any good, only ruins performance.

Add coun

Isolate the Timecounter internals in their own two files.

Make the public interface more systematically named.

Remove the alternate method, it doesn't do any good, only ruins performance.

Add counters to profile the usage of the 8 access functions.

Apply the beer-ware to my code.

The weird +/- counts are caused by two repocopies behind the scenes:
kern/kern_clock.c -> kern/kern_tc.c
sys/time.h -> sys/timetc.h
(thanks peter!)

show more ...


Revision tags: release/4.0.0_cvs
# f1220da4 13-Feb-2000 Poul-Henning Kamp <phk@FreeBSD.org>

Fix sign reversal in adjtime(2).

Approved by: jkh


Revision tags: release/3.4.0_cvs
# 2ac0d0a1 08-Dec-1999 Poul-Henning Kamp <phk@FreeBSD.org>

Make adjtime(2) adjust boottime so it doesn't cause non-monotonous
uptime.


# 71a62f8a 27-Nov-1999 Bruce Evans <bde@FreeBSD.org>

Fixed some comments in statclock(). The previous commit made it clearer
that one comment was attached to null code.


# 8a9d4d98 27-Nov-1999 Bruce Evans <bde@FreeBSD.org>

Moved scheduling-related code to kern_synch.c so that it is easier to fix
and extend. The new function containing the code is named schedclock()
as in NetBSD, but it has slightly different semantics

Moved scheduling-related code to kern_synch.c so that it is easier to fix
and extend. The new function containing the code is named schedclock()
as in NetBSD, but it has slightly different semantics (it already handles
incrementation of p->p_cpticks, and it should handle any calling frequency).

Agreed with in principle by: dufault

show more ...


# de3f8889 10-Oct-1999 Peter Wemm <peter@FreeBSD.org>

#ifdef PPS_SYNC around "kapi" declaration to fix a -Wunused warning.


# b7424f2d 09-Oct-1999 John Hay <jhay@FreeBSD.org>

Update the PPSAPI to draft-mogul-pps-api-05.txt which is the latest.

NOTE: This will break building ntpd until ntpd has been upgraded to also
support draft 05. People that want to build ntpd in the

Update the PPSAPI to draft-mogul-pps-api-05.txt which is the latest.

NOTE: This will break building ntpd until ntpd has been upgraded to also
support draft 05. People that want to build ntpd in the meantime can
get patches from me.

show more ...


Revision tags: release/3.3.0_cvs
# 37d38777 13-Sep-1999 Bruce Evans <bde@FreeBSD.org>

Moved the definition of `boottime' and its sysctl to the correct file.


# c3aac50f 28-Aug-1999 Peter Wemm <peter@FreeBSD.org>

$Id$ -> $FreeBSD$


# a1a10fdf 24-Jul-1999 Bruce Evans <bde@FreeBSD.org>

Oops, the previous commit only worked in the one case it was tested for.


# 6b6ef746 18-Jul-1999 Bruce Evans <bde@FreeBSD.org>

Added a sysctl "kern.timecounter.hardware" for selecting the hardware
used for timecounting. The possible values are the names of the
physically present harware timecounters ("i8254" and "TSC" on i3

Added a sysctl "kern.timecounter.hardware" for selecting the hardware
used for timecounting. The possible values are the names of the
physically present harware timecounters ("i8254" and "TSC" on i386's).

Fixed some nearby bitrot in comments in <sys/time.h>.

Reviewed by: phk

show more ...


# 7ac9503b 18-Jul-1999 John Polstra <jdp@FreeBSD.org>

Remove four no-op casts.


Revision tags: release/3.2.0
# 0bb2226a 25-Apr-1999 Poul-Henning Kamp <phk@FreeBSD.org>

Make the machdep.i8254_freq and machdep.tsc_freq sysctls modify the
timecounter as well

Asked for by: bde, jhay


# c4a6db71 02-Apr-1999 Poul-Henning Kamp <phk@FreeBSD.org>

Don't open window for race condition.

Detected by: Reg Clemens <reg@dwf.com>


# 30f27235 12-Mar-1999 Poul-Henning Kamp <phk@FreeBSD.org>

Fix an old cut&paste bogon.

Noticed by: bde


# 37d39f0a 12-Mar-1999 Poul-Henning Kamp <phk@FreeBSD.org>

Remove duplicate include.

Noticed by: bde


# 32c20357 11-Mar-1999 Poul-Henning Kamp <phk@FreeBSD.org>

Make even more of the PPSAPI implementations generic.

FLL support in hardpps()

Various magic shuffles and improved comments

Style fixes from Bruce.


# c68996e2 08-Mar-1999 Poul-Henning Kamp <phk@FreeBSD.org>

Integrate the new "nanokernel" PLL from Dave Mills.

This code is backwards compatible with the older "microkernel" PLL, but
allows ntpd v4 to use nanosecond resolution. Many other improvements.

PP

Integrate the new "nanokernel" PLL from Dave Mills.

This code is backwards compatible with the older "microkernel" PLL, but
allows ntpd v4 to use nanosecond resolution. Many other improvements.

PPS_SYNC and hardpps() are NOT supported yet.

show more ...


# 1c6d46f9 19-Feb-1999 Luoqi Chen <luoqi@FreeBSD.org>

Introduce machine-dependent macro pgtok() to convert page count to number
of kilobytes. Its definition for each architecture could be optimized to
avoid potential numerical overflows.


# b1028ad1 19-Feb-1999 Luoqi Chen <luoqi@FreeBSD.org>

Hide access to vmspace:vm_pmap with inline function vmspace_pmap(). This
is the preparation step for moving pmap storage out of vmspace proper.

Reviewed by: Alan Cox <alc@cs.rice.edu>
Matthew Dill

Hide access to vmspace:vm_pmap with inline function vmspace_pmap(). This
is the preparation step for moving pmap storage out of vmspace proper.

Reviewed by: Alan Cox <alc@cs.rice.edu>
Matthew Dillion <dillon@apollo.backplane.com>

show more ...


Revision tags: release/3.1.0, release/3.0.0, release/2.2.8
# 510eb5b9 29-Nov-1998 Poul-Henning Kamp <phk@FreeBSD.org>

Make the previous behaviour the default, add a sysctl which you
can set if your hw/sw produces the "calcru negative..." message.

Setting the alternate method (sysctl -w kern.timecounter.method=1)
ma

Make the previous behaviour the default, add a sysctl which you
can set if your hw/sw produces the "calcru negative..." message.

Setting the alternate method (sysctl -w kern.timecounter.method=1)
makes the the get{nano|micro}*() functions call the real thing at
resulting in a measurable but minor overhead.

I decided to NOT have the "calcru" change the method automatically
because you should be aware of this problem if you have it.

The problems currently seen, related to usleep and a few other corners
are fixed for both methods.

show more ...


1...<<11121314151617181920>>...22