Re: [PATCH 0/5] kernel hacking: GCC optimization for debug experience (-Og)

2018-05-02 Thread Ingo Molnar
* Du, Changbin wrote: > On Wed, May 02, 2018 at 09:33:15AM +0200, Ingo Molnar wrote: > > > > * changbin...@intel.com wrote: > > > > > Comparison of system performance: a bit drop. > > > > > > w/o CONFIG_DEBUG_EXPERIENCE > > > $ time make -j4 > > > real6m43.619s > > > user

Re: [PATCH 0/5] kernel hacking: GCC optimization for debug experience (-Og)

2018-05-02 Thread Du, Changbin
On Wed, May 02, 2018 at 09:33:15AM +0200, Ingo Molnar wrote: > > * changbin...@intel.com wrote: > > > Comparison of system performance: a bit drop. > > > > w/o CONFIG_DEBUG_EXPERIENCE > > $ time make -j4 > > real6m43.619s > > user19m5.160s > > sys 2m20.287s > >

Re: [PATCH 0/5] kernel hacking: GCC optimization for debug experience (-Og)

2018-05-02 Thread Ingo Molnar
* changbin...@intel.com wrote: > Comparison of system performance: a bit drop. > > w/o CONFIG_DEBUG_EXPERIENCE > $ time make -j4 > real6m43.619s > user19m5.160s > sys 2m20.287s > > w/ CONFIG_DEBUG_EXPERIENCE > $ time make -j4 > real6m55.054s >

[PATCH 0/5] kernel hacking: GCC optimization for debug experience (-Og)

2018-05-01 Thread changbin . du
From: Changbin Du Hi all, I know some kernel developers was searching for a method to dissable GCC optimizations, probably they want to apply GCC '-O0' option. But since Linux kernel replys on GCC optimization to remove some dead code, so '-O0' just breaks the build. They do need this because the