Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1250438
| From | Borislav Petkov <bp@suse.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [RFC PATCH] x86: Kill notsc |
| Date | 2015-10-19 10:20 +0200 |
| Message-ID | <qldPI-74y-23@gated-at.bofh.it> (permalink) |
| References | <qkX8e-7NU-5@gated-at.bofh.it> <qlayu-2bl-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Sun, Oct 18, 2015 at 09:47:21PM -0700, Andy Lutomirski wrote:
> I'm a bit confused. Is it currently the case that, if you boot a
> normal kernel on a TSC-less machine without notsc, it fails?
No, it shouldn't fail because we're checking CPUID flags.
The point of this patch is purely cleaning up stuff and getting rid
of all the notsc/tsc_disabled logic. What is more tempting, however,
is getting rid of the static key in native_sched_clock. It is almost
pointless complexity and we don't really need it.
AFAIK, only some early 486s and 586s don't have TSC and they can disable
CONFIG_X86_TSC. Which they do, actually, if you choose M486 or M586 in
Kconfig.
--
Regards/Gruss,
Boris.
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)
--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[RFC PATCH] x86: Kill notsc Borislav Petkov <bp@suse.de> - 2015-10-18 16:30 +0200
Re: [RFC PATCH] x86: Kill notsc Andy Lutomirski <luto@amacapital.net> - 2015-10-19 06:50 +0200
Re: [RFC PATCH] x86: Kill notsc Borislav Petkov <bp@suse.de> - 2015-10-19 10:20 +0200
Re: [RFC PATCH] x86: Kill notsc Borislav Petkov <bp@alien8.de> - 2015-10-21 20:00 +0200
Re: [RFC PATCH] x86: Kill notsc Peter Zijlstra <peterz@infradead.org> - 2015-10-21 21:10 +0200
[PATCH -v2] x86: Kill notsc Borislav Petkov <bp@alien8.de> - 2015-10-22 21:00 +0200
csiph-web