From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932813AbcASJ5x (ORCPT ); Tue, 19 Jan 2016 04:57:53 -0500 Received: from mx2.suse.de ([195.135.220.15]:40434 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932734AbcASJ5t (ORCPT ); Tue, 19 Jan 2016 04:57:49 -0500 Subject: Re: [RFC] CONFIG_FORCE_MINIMALLY_SANE_CONFIG=y To: Ingo Molnar References: <20160108122719.GG14673@pd.tnic> <568FB028.1030706@suse.cz> <20160108133725.GH14673@pd.tnic> <568FCC45.1010301@suse.cz> <20160111194311.GF4686@pd.tnic> <20160111205945.GH4686@pd.tnic> <20160111211712.GI4686@pd.tnic> <20160114184350.GB12109@pd.tnic> <20160119082022.GB18237@gmail.com> Cc: Borislav Petkov , Linus Torvalds , Greg Kroah-Hartman , Andrew Morton , =?UTF-8?B?TcOlbnMgUnVsbGfDpXJk?= , Markus Trippelsdorf , Thomas Voegtle , linux-kernel@vger.kernel.org, x86-ml , Peter Zijlstra , Thomas Gleixner , Jiri Olsa , Arnaldo Carvalho de Melo , =?UTF-8?B?RnLDqWTDqXJpYyBXZWlzYmVja2Vy?= From: Michal Marek Message-ID: <569E089B.2000808@suse.cz> Date: Tue, 19 Jan 2016 10:57:47 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <20160119082022.GB18237@gmail.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2016-01-19 09:20, Ingo Molnar wrote: > In fact on x86 I'd suggest we go farther than that and add a core set of selects > that can be disabled only through a sufficiently scary "I really know I'm doing > something utmost weird" (and default disabled) config option. Agreed. > From my own randconfig testing I can give a core list of must-have kernel options, > without which most distros (Fedora, RHEL, Ubuntu, SuSE) won't boot properly: > > +config FORCE_MINIMALLY_SANE_CONFIG > + bool > + default y You should add a prompt so that the option can be disabled. Or make it default !EXPERT, to have a single "I know what I'm doing"-type of option. Michal