Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1370389

Re: [PATCH] x86: Add a turbo mode sysctl

From Nikolay Borisov <kernel@kyup.com>
Newsgroups linux.kernel
Subject Re: [PATCH] x86: Add a turbo mode sysctl
Date 2016-04-04 08:50 +0200
Message-ID <rk6uK-7BH-7@gated-at.bofh.it> (permalink)
References <rj9Eo-6vF-25@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw



On 04/01/2016 06:49 PM, Andy Lutomirski wrote:
> Sadly, hardware turbo mode buttons are few and far between in these
> degenerate times.  Add a software control at /proc/sys/turbo_mode.
> 
> Unfortunately, Linux graphical environments have become very
> heavy-weight and are essentially unusable on non-Turbo systems.  The
> VT console works very well, though.
> 
> Due to KVM limitations, turbo mode is permanently on in a KVM guest.
> 
> Signed-off-by: Andy Lutomirski <luto@kernel.org>
> ---
>  arch/x86/mm/pat.c | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++++--
>  1 file changed, 61 insertions(+), 2 deletions(-)


The name of the sysctl really sucks, it just control whether caching is
enabled/disabled. Now, having said that I realize there are multiple
sysctl that contain "cache" in their names. But can you come up with a
more descriptive name, directly relating to what the sysctl does and now
what its actual effects are :)? Also, aren't caches enabled by the
kernel when the system is booting, according to SDM1/section 9.3 caches
are disabled after reset and I assume the kernel does enable them when
it's booting?

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] x86: Add a turbo mode sysctl Andy Lutomirski <luto@kernel.org> - 2016-04-01 18:00 +0200
  Re: [PATCH] x86: Add a turbo mode sysctl Borislav Petkov <bp@alien8.de> - 2016-04-01 18:10 +0200
  Re: [PATCH] x86: Add a turbo mode sysctl kbuild test robot <lkp@intel.com> - 2016-04-01 18:10 +0200
  Re: [PATCH] x86: Add a turbo mode sysctl Thomas Gleixner <tglx@linutronix.de> - 2016-04-01 18:20 +0200
    Re: [PATCH] x86: Add a turbo mode sysctl Andy Lutomirski <luto@amacapital.net> - 2016-04-02 22:30 +0200
      Re: [PATCH] x86: Add a turbo mode sysctl Thomas Gleixner <tglx@linutronix.de> - 2016-04-03 12:00 +0200
        Re: [PATCH] x86: Add a turbo mode sysctl Borislav Petkov <bp@alien8.de> - 2016-04-03 12:20 +0200
  Re: [PATCH] x86: Add a turbo mode sysctl Nikolay Borisov <kernel@kyup.com> - 2016-04-04 08:50 +0200

csiph-web