Re: [PATCH] x86: mtrr cleanup for converting continuous to discrete layout v3

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Yinghai Lu <yhlu.kernel@...>
Cc: Andrew Morton <akpm@...>, H. Peter Anvin <hpa@...>, Thomas Gleixner <tglx@...>, linux-kernel@vger.kernel.org <linux-kernel@...>, Gabriel C <nix.or.die@...>, Mika Fischer <mika.fischer@...>
Date: Monday, April 28, 2008 - 4:29 pm

* Yinghai Lu <yhlu.kernel@gmail.com> wrote:


yeah, please keep both.

in general, the best configurability for any particular new kernel 
feature is a trio of options:

  - .config option (disabled/boot-enabled/boot-disabled)
  - sysctl option
  - boot option

since your new feature runs during early bootup the sysctl vector is 
meaningless - that leaves the boot option and the .config. The .config 
can have 3 states:

   completely-disabled
   disabled-but-boot-option-enable-able
   enabled-but-boot-option-disable-able

depending on how the feature works out, people and distros will 
gravitate towards one of these combinations. We usually do not know it 
ahead of time which one that will be.

	Ingo
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] x86: mtrr cleanup for converting continuous to d..., Eric W. Biederman, (Tue Apr 29, 3:00 pm)
Re: [PATCH] x86: mtrr cleanup for converting continuous to d..., Eric W. Biederman, (Tue Apr 29, 4:29 pm)
Re: [PATCH] x86: mtrr cleanup for converting continuous to d..., Eric W. Biederman, (Tue Apr 29, 6:14 pm)
Re: [PATCH] x86: mtrr cleanup for converting continuous to d..., Eric W. Biederman, (Tue Apr 29, 9:16 pm)
Re: [PATCH] x86: mtrr cleanup for converting continuous to d..., Ingo Molnar, (Mon Apr 28, 4:29 pm)