* linux-next: manual merge of the percpu tree with the kgdb tree
@ 2009-10-30 8:20 Stephen Rothwell
2009-10-30 10:00 ` Tejun Heo
0 siblings, 1 reply; 2+ messages in thread
From: Stephen Rothwell @ 2009-10-30 8:20 UTC (permalink / raw)
To: Tejun Heo, Rusty Russell, Christoph Lameter, Ingo Molnar
Cc: linux-next, linux-kernel, Jason Wessel
Hi all,
Today's linux-next merge of the percpu tree got a conflict in
kernel/softlockup.c between commit
b460e1994445b5ebb97aaec0c29f893c246bd830 ("softlockup: add
sched_clock_tick() to avoid kernel warning on kgdb resume") from the kgdb
tree and commit 1871e52c76dd95895caeb772f845a1718dcbcd75 ("percpu: make
percpu symbols under kernel/ and mm/ unique") from the percpu tree.
Just context changes. I fixed it up (see below) and can carry the
changes as necessary.
I do wonder if the local variable name changes in the percpu tree change
were a good idea?
I also needed a further merge fixup (see further below).
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
diff --cc kernel/softlockup.c
index a85ace2,d225790..0000000
--- a/kernel/softlockup.c
+++ b/kernel/softlockup.c
@@@ -125,15 -117,7 +125,15 @@@ void softlockup_tick(void
return;
}
- if (touch_timestamp == 0) {
+ if (touch_ts == 0) {
+ if (unlikely(softlock_touch_sync[this_cpu])) {
+ /*
+ * If the time stamp was touched atomically
+ * make sure the scheduler tick is up to date.
+ */
+ softlock_touch_sync[this_cpu] = 0;
+ sched_clock_tick();
+ }
__touch_softlockup_watchdog();
return;
}
From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Fri, 30 Oct 2009 18:58:07 +1100
Subject: [PATCH] percpu: merge fixup for variable renaming
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
kernel/softlockup.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/kernel/softlockup.c b/kernel/softlockup.c
index 560a01d..57f1295 100644
--- a/kernel/softlockup.c
+++ b/kernel/softlockup.c
@@ -84,7 +84,7 @@ static int softlock_touch_sync[NR_CPUS];
void touch_softlockup_watchdog_sync(void)
{
softlock_touch_sync[raw_smp_processor_id()] = 1;
- __raw_get_cpu_var(touch_timestamp) = 0;
+ __raw_get_cpu_var(softlockup_touch_ts) = 0;
}
void touch_all_softlockup_watchdogs(void)
--
1.6.5.2
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: linux-next: manual merge of the percpu tree with the kgdb tree
2009-10-30 8:20 linux-next: manual merge of the percpu tree with the kgdb tree Stephen Rothwell
@ 2009-10-30 10:00 ` Tejun Heo
0 siblings, 0 replies; 2+ messages in thread
From: Tejun Heo @ 2009-10-30 10:00 UTC (permalink / raw)
To: Stephen Rothwell
Cc: Rusty Russell, Christoph Lameter, Ingo Molnar, linux-next,
linux-kernel, Jason Wessel
Hello,
Stephen Rothwell wrote:
> Just context changes. I fixed it up (see below) and can carry the
> changes as necessary.
>
> I do wonder if the local variable name changes in the percpu tree change
> were a good idea?
Yeap, I agree it's not pretty but I couldn't think of better way to do
it. The changes are almost randomly spread over different subsystems
and coordinating pull/push between all those trees and the percpu tree
would be too painful logistically, so I think it would be better to
channel most of them through the percpu tree and react to clashes that
happen (there shouldn't be too many during single devel cycle and
resolution shouldn't be too hard).
percpu#for-next tree won't be rebased and pulling it into the
conflicting tree should resolve the situation. Or if carrying the
fixup isn't too painful for you, doing it this way isn't too bad
either. I can collect the conflict resolutions and send it together
with pull request when the next merge window opens.
> I also needed a further merge fixup (see further below).
Patch looks good to me.
Thanks.
--
tejun
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-10-30 9:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-30 8:20 linux-next: manual merge of the percpu tree with the kgdb tree Stephen Rothwell
2009-10-30 10:00 ` Tejun Heo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).