Hi Andrew

Am 10.03.2016 um 21:19 schrieb Andrew:
> 10.03.2016 22:07, Erich Titl пишет:
>> Am 10.03.2016 um 19:39 schrieb Andrew:
>>> 10.03.2016 20:03, Erich Titl пишет:
...

>>>> But in the end you have to do it for every arch, not only common config.
>>>> Humans are notoriously weak when looking at changed/missed lines.
>>> Not always.

Always, humans are just not good at that.

>>>
>>> When there is usual kernel config - at kernel update there's usual tens
>>> or even hundreds new options that should be choosed. And using .cdiff
>>> with generic kernel you should only enable new platform-specific
>>> drivers; generic options like network stack are applied automatically.
>> The same applies if you use make olddefconfig.
> And you'll lack, for ex., new iptables features from new kernel, and got 
> a lot of unneeded drivers.

Well, I am not that sure we are using the best of all configurations and
typically the defaults are quite OK.

> 
....
>>> release.
>> Potentially with each new kernel release and at out speed that is every
>> two weeks.
> There's mostly 

Mostly is not always :-)

no config difference between kernel patch releases. It
> just requires to replace kernel patch...

And then it is easy to just use oldconfig.

>>>> And you still have
>>>> to generate the full config for every arch. But then time is not the
>>>> only parameter to look at. We should analyze if there were non necessary
>>>> steps involved in this process.
>>> In any case, you should look at configs difference - so generating some
>>> kind of diffs is necessary.
>> Why? The kernel developers gave us pretty good tools to manage kernel
>> upgrades and they did _not_ provide diff files. I believed in the past
>> this was a wekness, now I am convinced they knew why.
> To be sure that you didn't missed something.

You typically miss stuff when you do it manually

> 
>>>> I looked at my routine to get master in sync with new-initrd.
>>> It seems like you re-generated kernel config from scratch.  With a lot
>>> of completely unneeded stuff.

Nope, I did not. I applied olddefconfig and yes, if you are sure that
the suggested defaults from the kernel people are wrong then I had more
stuff compiled in than necessary. But if you don't trust those folks
then you better write your own kernel :-)

>>>
>>> I just applied your changes in your old branch to new kernel configs.
>>> They lays perfectly.
>> But you need the full config files to do this and then you just convert
>> them back to diffs :-(
> No.

So you just apply the diffs to a completely new kernel config? IMHO this
is utterly dangerous. And yes, then you need to inspect the files and
you will miss stuff and after some time it will be detected and fixed.

Still don't believe it.

cheers

ET


------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140

_______________________________________________
leaf-devel mailing list
leaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to