[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20211202222514.GD16608@worktop.programming.kicks-ass.net>
Date: Thu, 2 Dec 2021 23:25:14 +0100
From: Peter Zijlstra <peterz@...radead.org>
To: zhenwei pi <pizhenwei@...edance.com>
Cc: tglx@...utronix.de, pbonzini@...hat.com, kvm@...r.kernel.org,
linux-kernel@...r.kernel.org, x86@...nel.org
Subject: Re: [PATCH v2 1/2] x86/cpu: Introduce x86_get_cpufreq_khz()
On Wed, Dec 01, 2021 at 10:46:49AM +0800, zhenwei pi wrote:
> Wrapper function x86_get_cpufreq_khz() to get frequency on a x86
> platform, hide detailed implementation from proc routine.
>
> Also export this function for the further use, a typical case is that
> kvm module gets the frequency of the host and tell the guest side by
> kvmclock.
This function was already complete crap, and now you want to export it,
*WHY* ?!
What possible use does KVM have for this random number generator?
Powered by blists - more mailing lists