login
Header Space

 
 

Re: [rfc] the kernel workflow & trivial "global -> static" patches (was: Re: [2.6 patch] make sched_feat_{names,open} static)

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Randy.Dunlap <rdunlap@...>
Cc: Ingo Molnar <mingo@...>, Adrian Bunk <bunk@...>, Peter Zijlstra <a.p.zijlstra@...>, <linux-kernel@...>, Andrew Morton <akpm@...>, Linus Torvalds <torvalds@...>, Sam Ravnborg <sam@...>, Alexander Viro <viro@...>, H. Peter Anvin <hpa@...>
Date: Monday, May 5, 2008 - 5:51 pm

On Mon, 5 May 2008 13:40:53 -0700 (PDT)
"Randy.Dunlap" <rdunlap@xenotime.net> wrote:



can we do a "make patchcheck" kernel build target that would
* run checkpatch on teh patch
* build the kernel without the patch (in various .configs, probably
allyesconfig / allmodconfig is enough, but we can figure this out
later)
* apply the patch
* build the kernel in the same configs
* build a kernel for install that has the 'standard debug options' on
  (lockdep, slabpoison etc)
then we can
* compare if new gcc warnings got introduced
* compare if major stack usage got introduced
* compare if namespace_check and some of the others introduce new issues
* compare if new sparse warnings got introduced
and maybe even run a bloat-o-meter to show code growth/shrinkage
[insert other useful checks here]

if all of that is just one command away, I bet quite a few people would
use it
(and the more useful it gets the more people will use it)

yes you can do the same thing by hand.
but yes it's many steps that are cumbersome if not automated... so few
people will do it.

If it's all in one step... 


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

Messages in current thread:
[2.6 patch] make sched_feat_{names,open} static, Adrian Bunk, (Mon May 5, 2:29 pm)
Re: [rfc] the kernel workflow & trivial "global -> st..., Arjan van de Ven, (Mon May 5, 5:51 pm)
speck-geostationary