linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* RFD: Does CONFIG_X86_LOCAL_APIC still make sense?
@ 2013-10-10 23:04 H. Peter Anvin
  2013-10-11  6:20 ` Ingo Molnar
  0 siblings, 1 reply; 2+ messages in thread
From: H. Peter Anvin @ 2013-10-10 23:04 UTC (permalink / raw)
  To: Ingo Molnar, Thomas Gleixner, Linus Torvalds; +Cc: Linux Kernel Mailing List

I'm trying to wrap my head around if there are use cases where disabling
either CONFIG_X86_UP_APIC or CONFIG_X86_LOCAL_APIC would ever make sense
anymore.

I am guessing there are probably some small number of embedded systems
which still don't have LAPICs, but is it a significant number and does
anyone care for new kernels?  We are not talking about discontinuing
support for non-APIC configurations, just the configuration option.

	-hpa

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: RFD: Does CONFIG_X86_LOCAL_APIC still make sense?
  2013-10-10 23:04 RFD: Does CONFIG_X86_LOCAL_APIC still make sense? H. Peter Anvin
@ 2013-10-11  6:20 ` Ingo Molnar
  0 siblings, 0 replies; 2+ messages in thread
From: Ingo Molnar @ 2013-10-11  6:20 UTC (permalink / raw)
  To: H. Peter Anvin; +Cc: Thomas Gleixner, Linus Torvalds, Linux Kernel Mailing List


* H. Peter Anvin <hpa@zytor.com> wrote:

> I'm trying to wrap my head around if there are use cases where disabling 
> either CONFIG_X86_UP_APIC or CONFIG_X86_LOCAL_APIC would ever make sense 
> anymore.
> 
> I am guessing there are probably some small number of embedded systems 
> which still don't have LAPICs, but is it a significant number and does 
> anyone care for new kernels?  We are not talking about discontinuing 
> support for non-APIC configurations, just the configuration option.

I guess it depends on the kernel size difference. If it's more than just a 
few K then a patch will creep back via some CONFIG_EXPERT "reduce kernel 
bloat" route.

The thing is, if we allow non-apic configurations then we have paid most 
of the modularization, #ifdef and general maintenance price already. 
Adding a Kconfig just makes it more testable and breakages more apparent.

Unless I missed some aspects of this that would allow us to simplify code 
significantly that is.

Thanks,

	Ingo

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-10-11  6:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-10 23:04 RFD: Does CONFIG_X86_LOCAL_APIC still make sense? H. Peter Anvin
2013-10-11  6:20 ` Ingo Molnar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).