Re: [PATCH 6.1 1/1] x86/i8253: Disable PIT timer 0 when not in use

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Feb 17, 2025 at 10:53:55PM +0000, jaywang-amazon wrote:
> From: David Woodhouse <dwmw@xxxxxxxxxxxx>
> 
> Leaving the PIT interrupt running can cause noticeable steal time for
> virtual guests. The VMM generally has a timer which toggles the IRQ input
> to the PIC and I/O APIC, which takes CPU time away from the guest. Even
> on real hardware, running the counter may use power needlessly (albeit
> not much).
> 
> Make sure it's turned off if it isn't going to be used.
> 
> Signed-off-by: David Woodhouse <dwmw@xxxxxxxxxxxx>
> Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
> Tested-by: Michael Kelley <mhkelley@xxxxxxxxxxx>
> Link: https://lore.kernel.org/all/20240802135555.564941-1-dwmw2@xxxxxxxxxxxxx
> 
> (cherry picked from commit 70e6b7d9ae3c63df90a7bba7700e8d5c300c3c60)
> Cc: stable@xxxxxxxxxxxxxxx #v6.1
> Signed-off-by: jaywang-amazon <wanjay@xxxxxxxxxx>

We need a real name, not a fake-company name please.

thanks,

greg k-h




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux