]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Disable acpi_timer_test by default
authorColin Percival <cperciva@FreeBSD.org>
Tue, 7 Sep 2021 23:59:45 +0000 (16:59 -0700)
committerColin Percival <cperciva@FreeBSD.org>
Wed, 8 Sep 2021 01:31:55 +0000 (18:31 -0700)
commita8b89dff6ac026e60983824889d3666842ff409b
tree5659eb07f888d63eef5f6029aac8e4d529bef777
parent3c253d03d94e89cf1a26716b58fc27653df2a4f3
Disable acpi_timer_test by default

This disables testing the ACPI timer by default, forcing the use of
ACPI-fast rather than ACPI-safe.  The broken-ACPI-timers workaround
can be re-enabled by setting the hw.acpi.timer_test_enabled=1 tunable.

This speeds up the FreeBSD boot process by 140 ms on an EC2 c5.xlarge
instance.

This change will not be MFCed.

Assuming no problems are reported, acpi_timer_test, the associated
tunable, and the ACPI-safe timecounter should be removed in FreeBSD 15.

Relnotes: The ACPI-safe timer is disabled in favour of ACPI-fast;
if timekeeping issues are observed, please test with
hw.acpi.timer_test_enabled=1 in loader.conf and report
if that fixes the problem.
sys/dev/acpica/acpi_timer.c