[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 01/16] x86/tsc: Add a standalone helpers for getting TSC info from CPUID.0x15
 
- To: Sean Christopherson <seanjc@xxxxxxxxxx>
 
- From: Borislav Petkov <bp@xxxxxxxxx>
 
- Date: Tue, 11 Feb 2025 19:40:21 +0100
 
- Authentication-results: mail.alien8.de (amavisd-new); dkim=pass (4096-bit key)	header.d=alien8.de
 
- Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>, Ingo Molnar <mingo@xxxxxxxxxx>,	Dave Hansen <dave.hansen@xxxxxxxxxxxxxxx>, x86@xxxxxxxxxx,	"Kirill A. Shutemov" <kirill.shutemov@xxxxxxxxxxxxxxx>,	Juergen Gross <jgross@xxxxxxxx>,	"K. Y. Srinivasan" <kys@xxxxxxxxxxxxx>,	Haiyang Zhang <haiyangz@xxxxxxxxxxxxx>,	Wei Liu <wei.liu@xxxxxxxxxx>, Dexuan Cui <decui@xxxxxxxxxxxxx>,	Ajay Kaher <ajay.kaher@xxxxxxxxxxxx>,	Alexey Makhalov <alexey.amakhalov@xxxxxxxxxxxx>,	Jan Kiszka <jan.kiszka@xxxxxxxxxxx>,	Paolo Bonzini <pbonzini@xxxxxxxxxx>,	Andy Lutomirski <luto@xxxxxxxxxx>,	Peter Zijlstra <peterz@xxxxxxxxxxxxx>, linux-kernel@xxxxxxxxxxxxxxx,	linux-coco@xxxxxxxxxxxxxxx, virtualization@xxxxxxxxxxxxxxx,	linux-hyperv@xxxxxxxxxxxxxxx, jailhouse-dev@xxxxxxxxxxxxxxxx,	kvm@xxxxxxxxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxxx,	Nikunj A Dadhania <nikunj@xxxxxxx>,	Tom Lendacky <thomas.lendacky@xxxxxxx>
 
- Delivery-date: Tue, 11 Feb 2025 18:41:03 +0000
 
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
 
 
 
On Tue, Feb 11, 2025 at 09:25:47AM -0800, Sean Christopherson wrote:
> Because obviously optimizing code that's called once during boot is super
> critical?
Because let's stick 'em where they belong and keep headers containing only
small, trivial and inlineable functions. Having unusually big functions in
a header triggers my weird code patterns detector. :)
-- 
Regards/Gruss,
    Boris.
https://people.kernel.org/tglx/notes-about-netiquette
 
    
     |