On Wed, Nov 04, 2015 at 11:21:45AM +0100, Thomas Gleixner wrote:
> On Thu, 22 Oct 2015, Borislav Petkov wrote:
> > u64 native_sched_clock(void)
> > {
> > - if (static_branch_likely(&__use_tsc)) {
> > - u64 tsc_now = rdtsc();
> > -
> > - /* return the value in ns */
> > -
On Thu, 22 Oct 2015, Borislav Petkov wrote:
> u64 native_sched_clock(void)
> {
> - if (static_branch_likely(&__use_tsc)) {
> - u64 tsc_now = rdtsc();
> -
> - /* return the value in ns */
> - return cycles_2_ns(tsc_now);
> - }
> -
> +#ifdef
On Wed, Nov 04, 2015 at 11:21:45AM +0100, Thomas Gleixner wrote:
> On Thu, 22 Oct 2015, Borislav Petkov wrote:
> > u64 native_sched_clock(void)
> > {
> > - if (static_branch_likely(&__use_tsc)) {
> > - u64 tsc_now = rdtsc();
> > -
> > - /* return the value in ns */
> > -
On Thu, 22 Oct 2015, Borislav Petkov wrote:
> u64 native_sched_clock(void)
> {
> - if (static_branch_likely(&__use_tsc)) {
> - u64 tsc_now = rdtsc();
> -
> - /* return the value in ns */
> - return cycles_2_ns(tsc_now);
> - }
> -
> +#ifdef
:05:32 +0200
Subject: [PATCH -v2] x86: Kill notsc
Kill "notsc" cmdline option and all the glue around it. The two boxes
worldwide which don't have a TSC should disable X86_TSC. Thus, make
native_sched_clock() use TSC unconditionally, even if the TSC is
unstable because that's fine ther
Sun, 18 Oct 2015 16:05:32 +0200
Subject: [PATCH -v2] x86: Kill notsc
Kill "notsc" cmdline option and all the glue around it. The two boxes
worldwide which don't have a TSC should disable X86_TSC. Thus, make
native_sched_clock() use TSC unconditionally, even if the TSC is
unstab
6 matches
Mail list logo