Re: [PATCH 16/16] x86/kvmclock: Use TSC for sched_clock if it's constant and non-stop

2025-02-12 Thread Sean Christopherson
On Wed, Feb 12, 2025, Michael Kelley wrote: > From: Sean Christopherson Sent: Monday, February 10, 2025 > 8:22 AM > > On Sat, Feb 08, 2025, Michael Kelley wrote: > > > But I would be good with some restructuring so that setting the sched > > > clock > > > save/restore hooks is more closely tied

RE: [PATCH 16/16] x86/kvmclock: Use TSC for sched_clock if it's constant and non-stop

2025-02-12 Thread Michael Kelley
From: Sean Christopherson Sent: Monday, February 10, 2025 8:22 AM > > On Sat, Feb 08, 2025, Michael Kelley wrote: > > From: Sean Christopherson Sent: Friday, February 7, > > 2025 9:23 AM > > > > > > Dropping a few people/lists whose emails are bouncing. > > > > > > On Fri, Jan 31, 2025, Sean C

Re: [PATCH 16/16] x86/kvmclock: Use TSC for sched_clock if it's constant and non-stop

2025-02-10 Thread Sean Christopherson
On Sat, Feb 08, 2025, Michael Kelley wrote: > From: Sean Christopherson Sent: Friday, February 7, 2025 > 9:23 AM > > > > Dropping a few people/lists whose emails are bouncing. > > > > On Fri, Jan 31, 2025, Sean Christopherson wrote: > > > @@ -369,6 +369,11 @@ void __init kvmclock_init(void) > >

RE: [PATCH 16/16] x86/kvmclock: Use TSC for sched_clock if it's constant and non-stop

2025-02-08 Thread Michael Kelley
From: Sean Christopherson Sent: Friday, February 7, 2025 9:23 AM > > Dropping a few people/lists whose emails are bouncing. > > On Fri, Jan 31, 2025, Sean Christopherson wrote: > > @@ -369,6 +369,11 @@ void __init kvmclock_init(void) > > #ifdef CONFIG_X86_LOCAL_APIC > > x86_cpuinit.early_p

Re: [PATCH 16/16] x86/kvmclock: Use TSC for sched_clock if it's constant and non-stop

2025-02-07 Thread Sean Christopherson
Dropping a few people/lists whose emails are bouncing. On Fri, Jan 31, 2025, Sean Christopherson wrote: > @@ -369,6 +369,11 @@ void __init kvmclock_init(void) > #ifdef CONFIG_X86_LOCAL_APIC > x86_cpuinit.early_percpu_clock_init = kvm_setup_secondary_clock; > #endif > + /* > + * Sa