diff options
author | njl <njl@FreeBSD.org> | 2004-04-24 16:25:00 +0000 |
---|---|---|
committer | njl <njl@FreeBSD.org> | 2004-04-24 16:25:00 +0000 |
commit | 4c2bf4f1b4ce666c9c869253d951b4da1b23d33e (patch) | |
tree | 107baedc7d699997af20f2a320aefa9f9b8c89ee /etc/mtree/README | |
parent | 0eae77e31527f2f606c42d97545ba060e0f6af6a (diff) | |
download | FreeBSD-src-4c2bf4f1b4ce666c9c869253d951b4da1b23d33e.zip FreeBSD-src-4c2bf4f1b4ce666c9c869253d951b4da1b23d33e.tar.gz |
Disable interrupts while testing the timer. Not doing this unnecessarily
added an arbitrary delay to our readings, causing us to use the ACPI-safe
read method when not necessary. Submitted by: bde
Old:
ACPI timer looks GOOD min = 3, max = 5, width = 2
ACPI timer looks BAD min = 3, max = 19, width = 16
ACPI timer looks GOOD min = 3, max = 5, width = 2
ACPI timer looks GOOD min = 3, max = 5, width = 2
ACPI timer looks GOOD min = 3, max = 5, width = 2
ACPI timer looks GOOD min = 3, max = 4, width = 1
ACPI timer looks GOOD min = 3, max = 5, width = 2
ACPI timer looks BAD min = 3, max = 19, width = 16
ACPI timer looks GOOD min = 3, max = 5, width = 2
ACPI timer looks GOOD min = 3, max = 4, width = 1
Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
New:
ACPI timer looks GOOD min = 3, max = 4, width = 1
ACPI timer looks GOOD min = 3, max = 4, width = 1
ACPI timer looks GOOD min = 3, max = 4, width = 1
ACPI timer looks GOOD min = 3, max = 4, width = 1
ACPI timer looks GOOD min = 3, max = 4, width = 1
ACPI timer looks GOOD min = 3, max = 4, width = 1
ACPI timer looks GOOD min = 3, max = 4, width = 1
ACPI timer looks GOOD min = 3, max = 4, width = 1
ACPI timer looks GOOD min = 3, max = 4, width = 1
ACPI timer looks GOOD min = 3, max = 4, width = 1
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
Also, reduce unnecesary overhead in ACPI-fast by remove the barrier for
reads. The timer in the ACPI-fast case is known to increase monotonically
so there is no need to serialize access to it.
Diffstat (limited to 'etc/mtree/README')
0 files changed, 0 insertions, 0 deletions