]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Disable atkbd0 and atkdbc0 in EC2 AMIs. This has the effect of skipping
authorcperciva <cperciva@FreeBSD.org>
Sun, 26 Aug 2018 03:56:54 +0000 (03:56 +0000)
committercperciva <cperciva@FreeBSD.org>
Sun, 26 Aug 2018 03:56:54 +0000 (03:56 +0000)
commit2f414697dbce3c2556df8f6c83256b8ad0f9a872
tree25b08ef708aded286c065fef6b3696e14b83d0d1
parent6685dfaff02196dfb4f05cde4ab649f3b46b2ac9
Disable atkbd0 and atkdbc0 in EC2 AMIs.  This has the effect of skipping
the probing and attaching of the PS/2 mouse (not present on EC2) and
keyboard (emulated, but not accessible via EC2).

Note that we disable atkbd0 separately even though during device probing
it shows up as a child of atkbdc0; this is necessary because the device
is also initialized during the early console setup from hammer_time.

This change cuts the kernel boot time on an EC2 c5.4xlarge instance from
7259ms down to 4727 ms.

Approved by: re (marius)
release/tools/ec2.conf