Skip to contentSkip to conversation

linux-next: manual merge of the sched tree

DISCUSSION Stephen Rothwell 2 participants 4 messages Jul 1, 2008 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

Today's linux-next merge of the sched tree got a conflict in kernel/sched.c between commit 040ec23d07f95285e9777a85cda29cb339a3065b ("sched: sched_clock() lockdep fix") from the tree and commit 76a2a6ee8a0660a29127f05989ac59ae1ce865fa ("sched: sched_clock_cpu() based cpu_clock()") from the sched tree.

The former updated some code that the latter removed. I used the version from the sched tree.

There was also a conflict in kernel/sched_rt.c between commit 363ab6f1424cdea63e5d182312d60e19077b892a ("core: use performance variant for_each_cpu_mask_nr") from the cpus4096 tree and commit eff6549b957d15d1ad168d90b8c1eb643b9c163f ("sched: rt: move some code around") from the sched tree.

Again I took the version from the sched tree except for the for_each_cpu_mask -> for_each_cpu_mask_nr transformation.

Signature · 3 lines
Cheers,
Stephen Rothwell                    [email protected]
http://www.canb.auug.org.au/~sfr/
#1 lore raw
Quoted 11 lines · Stephen Rothwell

Hi all,

Today's linux-next merge of the sched tree got a conflict in kernel/sched.c between commit 040ec23d07f95285e9777a85cda29cb339a3065b ("sched: sched_clock() lockdep fix") from the tree and commit 76a2a6ee8a0660a29127f05989ac59ae1ce865fa ("sched: sched_clock_cpu() based cpu_clock()") from the sched tree.

The former updated some code that the latter removed. I used the version from the sched tree.

Quoted 8 lines

There was also a conflict in kernel/sched_rt.c between commit 363ab6f1424cdea63e5d182312d60e19077b892a ("core: use performance variant for_each_cpu_mask_nr") from the cpus4096 tree and commit eff6549b957d15d1ad168d90b8c1eb643b9c163f ("sched: rt: move some code around") from the sched tree.

Again I took the version from the sched tree except for the for_each_cpu_mask -> for_each_cpu_mask_nr transformation.

thanks. I did that manual merge a couple of days ago.

You should be able to check whether we both integrated the conflict the same way via checking tip/auto-latest, which is the integration of all the auto branches that come from -tip.

All the integration branches of -tip are pushed out at once so tip/auto-latest always gives a hint about how to integrate two -tip derived topic branches, tip/auto-latest always gives an answer. [ which might at times be wrong so it never hurts to double check :-) Note:
auto-latest also includes some non-linux-next topics - but they dont affect the scheduler usually. ]

Ingo

#2 lore raw

Hi Ingo,

Quoted 11 lines · On Tue, 1 Jul 2008 07:54:02 +0200 Ingo Molnar <[email protected]> wrote:

You should be able to check whether we both integrated the conflict the same way via checking tip/auto-latest, which is the integration of all the auto branches that come from -tip.

All the integration branches of -tip are pushed out at once so tip/auto-latest always gives a hint about how to integrate two -tip derived topic branches, tip/auto-latest always gives an answer. [ which might at times be wrong so it never hurts to double check :-) Note:
auto-latest also includes some non-linux-next topics - but they dont affect the scheduler usually. ]

Good to know, I will fetch it when necessary to check my work.

Signature · 3 lines
Cheers,
Stephen Rothwell                    [email protected]
http://www.canb.auug.org.au/~sfr/
#3 lore raw
Quoted 8 lines · Stephen Rothwell

Hi Ingo,

Quoted 5 lines · On Tue, 1 Jul 2008 07:54:02 +0200 Ingo Molnar <[email protected]> wrote:

You should be able to check whether we both integrated the conflict the same way via checking tip/auto-latest, which is the integration of all the auto branches that come from -tip.

Quoted 8 lines
Quoted 6 lines

All the integration branches of -tip are pushed out at once so tip/auto-latest always gives a hint about how to integrate two -tip derived topic branches, tip/auto-latest always gives an answer. [ which might at times be wrong so it never hurts to double check :-) Note:
auto-latest also includes some non-linux-next topics - but they dont affect the scheduler usually. ]

Good to know, I will fetch it when necessary to check my work.

we could also add tip/auto-next, which would be the integration of strictly the topics that go towards linux-next.

You probably dont want to use it for linux-next because it's too large hence you'd lose flexibility in shaping the ordering of trees (and lose flexibility in excluding broken trees and iterating them out of sync) - but it would be useful for the normal case and it might also speed up / strengthen your conflict resolution workflow.

Ingo