Re: [PATCH 2/2] x86: Add "make tinyconfig" to configure the tiniest possible kernel

2014-08-07 Thread Sam Ravnborg
> > > > diff --git a/arch/x86/configs/tiny.config b/arch/x86/configs/tiny.config > > > new file mode 100644 > > > index 000..8f0e54c > > > --- /dev/null > > > +++ b/arch/x86/configs/tiny.config > > > @@ -0,0 +1,5 @@ > > > +CONFIG_CC_OPTIMIZE_FOR_SIZE=y > > > +CONFIG_KERNEL_XZ=y > > > +CONFIG_N

Re: [PATCH 2/2] x86: Add "make tinyconfig" to configure the tiniest possible kernel

2014-08-07 Thread Josh Triplett
On Thu, Aug 07, 2014 at 06:03:52PM +0200, Sam Ravnborg wrote: > On Wed, Aug 06, 2014 at 03:31:54PM -0700, Josh Triplett wrote: > > Since commit 5d2acfc7b974bbd3858b4dd3f2cdc6362dd8843a ("kconfig: make > > allnoconfig disable options behind EMBEDDED and EXPERT") in 3.15-rc1, > > "make allnoconfig" d

Re: [PATCH 2/2] x86: Add "make tinyconfig" to configure the tiniest possible kernel

2014-08-07 Thread Sam Ravnborg
On Wed, Aug 06, 2014 at 03:31:54PM -0700, Josh Triplett wrote: > Since commit 5d2acfc7b974bbd3858b4dd3f2cdc6362dd8843a ("kconfig: make > allnoconfig disable options behind EMBEDDED and EXPERT") in 3.15-rc1, > "make allnoconfig" disables every possible config option. > > However, a few configuratio

Re: [PATCH 2/2] x86: Add "make tinyconfig" to configure the tiniest possible kernel

2014-08-06 Thread Josh Triplett
On Wed, Aug 06, 2014 at 04:37:54PM -0700, David Rientjes wrote: > On Wed, 6 Aug 2014, Josh Triplett wrote: > > On Wed, Aug 06, 2014 at 03:38:56PM -0700, David Rientjes wrote: > > > On Wed, 6 Aug 2014, Josh Triplett wrote: > > > > diff --git a/arch/x86/Makefile b/arch/x86/Makefile > > > > index 1568

Re: [PATCH 2/2] x86: Add "make tinyconfig" to configure the tiniest possible kernel

2014-08-06 Thread David Rientjes
On Wed, 6 Aug 2014, Josh Triplett wrote: > On Wed, Aug 06, 2014 at 03:38:56PM -0700, David Rientjes wrote: > > On Wed, 6 Aug 2014, Josh Triplett wrote: > > > diff --git a/arch/x86/Makefile b/arch/x86/Makefile > > > index 1568678..2b5ca16 100644 > > > --- a/arch/x86/Makefile > > > +++ b/arch/x86/Ma

Re: [PATCH 2/2] x86: Add "make tinyconfig" to configure the tiniest possible kernel

2014-08-06 Thread Josh Triplett
On Wed, Aug 06, 2014 at 03:38:56PM -0700, David Rientjes wrote: > On Wed, 6 Aug 2014, Josh Triplett wrote: > > diff --git a/arch/x86/Makefile b/arch/x86/Makefile > > index 1568678..2b5ca16 100644 > > --- a/arch/x86/Makefile > > +++ b/arch/x86/Makefile > > @@ -257,6 +257,10 @@ PHONY += kvmconfig > >

Re: [PATCH 2/2] x86: Add "make tinyconfig" to configure the tiniest possible kernel

2014-08-06 Thread David Rientjes
On Wed, 6 Aug 2014, Josh Triplett wrote: > diff --git a/arch/x86/Makefile b/arch/x86/Makefile > index 1568678..2b5ca16 100644 > --- a/arch/x86/Makefile > +++ b/arch/x86/Makefile > @@ -257,6 +257,10 @@ PHONY += kvmconfig > kvmconfig: > $(call mergeconfig,kvm_guest) > > +PHONY += tinyconfig

[PATCH 2/2] x86: Add "make tinyconfig" to configure the tiniest possible kernel

2014-08-06 Thread Josh Triplett
Since commit 5d2acfc7b974bbd3858b4dd3f2cdc6362dd8843a ("kconfig: make allnoconfig disable options behind EMBEDDED and EXPERT") in 3.15-rc1, "make allnoconfig" disables every possible config option. However, a few configuration options (CC_OPTIMIZE_FOR_SIZE, OPTIMIZE_INLINING) produce a smaller ker