mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "H. Peter Anvin" <hpa@zytor.com>
To: David Rientjes <rientjes@google.com>, Ingo Molnar <mingo@elte.hu>
Cc: Andrew Morton <akpm@linux-foundation.org>,
	Pekka Enberg <penberg@kernel.org>, Ingo Molnar <mingo@redhat.com>,
	Thomas Gleixner <tglx@linutronix.de>,
	Casey Dahlin <cdahlin@redhat.com>,
	x86@kernel.org, linux-kernel@vger.kernel.org,
	Linus Torvalds <torvalds@linux-foundation.org>
Subject: Re: [patch] x86: allow ZONE_DMA to be configurable
Date: Fri, 15 Oct 2010 08:06:15 -0700	[thread overview]
Message-ID: <35610cef-d2f0-455f-a2d1-d9cb3435482b@email.android.com> (raw)
In-Reply-To: <alpine.DEB.2.00.1010150154510.8103@chino.kir.corp.google.com>

Yes, those exceptions should be factored out and put under a separate suboption... CONFIG_SMALLMEM or so.

"David Rientjes" <rientjes@google.com> wrote:

>On Fri, 15 Oct 2010, Ingo Molnar wrote:
>
>> Also, historically we have not been moving kconfig variables in and out 
>> of CONFIG_EMBEDDED all that often for this to be an issue in the future.
>> 
>
>There are also kconfig options that depend on EMBEDDED that are actually 
>for embedded or very small systems; the most obvious example that comes to 
>mind is SLOB.  Simply doing an s/EMBEDDED/EXPERT/ conversion seems 
>appropriate given the semantics for the option that Peter gave, but there 
>are exceptions that will need to be identified, and I think SLOB is one of 
>them.
>
>I don't think we need a kconfig _dependency_ that exists solely to 
>identify other config options for a specific field of hardware, but then 
>we leave a burden for those users to identify the correct options that 
>they need for their configurations that was, I'm assuming, the original 
>intent of CONFIG_EMBEDDED in the first place.  So perhaps we can allow an 
>option for small embedded systems that can "select" other options when 
>enabled but don't have strict "depends" requirements?
>
>I had a thread with Matt Mackall about a year and a half ago on LKML about 
>the meaning of CONFIG_EMBEDDED and its use for the SLOB allocator; it 
>would be much better for us to identify systems with memory limitations 
>that strive to reduce footprint as much as possible to automatically 
>select certain options over others.  I believe we talked about SLOB being 
>the default for systems with under 16MB of memory, but we have limited 
>ability to identify that for the user.

-- 
Sent from my mobile phone.  Please pardon any lack of formatting.

  reply	other threads:[~2010-10-15 15:07 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-14  0:15 David Rientjes
2010-10-14  0:23 ` H. Peter Anvin
2010-10-14  0:42   ` David Rientjes
2010-10-14  0:44     ` H. Peter Anvin
2010-10-14  0:49       ` David Rientjes
2010-10-14  1:21         ` H. Peter Anvin
2010-10-14  1:48           ` David Rientjes
2010-10-14  2:38             ` H. Peter Anvin
2010-10-14  3:55               ` David Rientjes
2010-10-14  4:37             ` H. Peter Anvin
2010-10-14  4:46               ` David Rientjes
2010-10-14 15:38                 ` H. Peter Anvin
2010-10-14 16:00                   ` Pekka Enberg
2010-10-14 17:44                     ` H. Peter Anvin
2010-10-14 18:34                       ` Ingo Molnar
2010-10-14 19:35                         ` Andrew Morton
2010-10-14 20:40                           ` H. Peter Anvin
2010-10-15  3:03                             ` Ingo Molnar
2010-10-15  4:45                               ` H. Peter Anvin
2010-10-15  9:05                               ` David Rientjes
2010-10-15 15:06                                 ` H. Peter Anvin [this message]
2010-10-14 22:08                   ` David Rientjes
2010-10-14  8:10 ` Andrew Morton
2010-10-14  8:32   ` KOSAKI Motohiro
2010-10-14 22:15   ` David Rientjes
2010-10-14 22:32     ` Andrew Morton
2010-10-15  3:10       ` Ingo Molnar
2010-10-15  9:11         ` David Rientjes
2010-10-15  9:09       ` David Rientjes
2010-10-21 14:56         ` Christoph Lameter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=35610cef-d2f0-455f-a2d1-d9cb3435482b@email.android.com \
    --to=hpa@zytor.com \
    --cc=akpm@linux-foundation.org \
    --cc=cdahlin@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=mingo@redhat.com \
    --cc=penberg@kernel.org \
    --cc=rientjes@google.com \
    --cc=tglx@linutronix.de \
    --cc=torvalds@linux-foundation.org \
    --cc=x86@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome