Re: [PATCH 2/5] Implement generic time of day clocksource for powerpc machines.

2007-09-20 Thread john stultz
On Thu, 2007-09-20 at 10:52 +1000, Paul Mackerras wrote: Daniel Walker writes: If you switch to the rtc do the shift and mult need to change? You can't switch; any given CPU chip will have either the RTC or the timebase but not both. I think what Daniel is pointing out is that the

Re: [PATCH RFC 1/9] RCU: Split API to permit multiple RCU implementations

2007-09-20 Thread Steven Rostedt
On Mon, Sep 10, 2007 at 11:32:08AM -0700, Paul E. McKenney wrote: [nitpick and two part mail ] diff -urpNa -X dontdiff linux-2.6.22/include/linux/rcuclassic.h linux-2.6.22-a-splitclassic/include/linux/rcuclassic.h --- linux-2.6.22/include/linux/rcuclassic.h 1969-12-31 16:00:00.0

Re: [PATCH v2 2/4] Implement generic time of day clocksource for powerpc machines.

2007-09-20 Thread Stephen Rothwell
Small comments. On Fri, 21 Sep 2007 13:26:02 +1000 Tony Breeds [EMAIL PROTECTED] wrote: +void update_vsyscall(struct timespec *wall_time, struct clocksource *clock) +{ + u64 t2x, stamp_xsec; + + if (__USE_RTC() || clock != clocksource_timebase) ^^^ I think this

[PATCH RFC -rt] synchronize_all_irqs implementation

2007-09-20 Thread Paul E. McKenney
Hello! This patch adds a sychronize_all_irqs(), which waits for all outstanding interrupt handlers, both threaded and IRQF_NODELAY, to complete. This functionality is provided in non-rt kernels by synchronize_sched(), but this approach fails in face of the threaded interrupt handlers present in

Re: [PATCH RFC 3/9] RCU: Preemptible RCU

2007-09-20 Thread Paul E. McKenney
On Fri, Sep 21, 2007 at 12:17:21AM -0400, Steven Rostedt wrote: [ continued here from comment on patch 1] On Mon, Sep 10, 2007 at 11:34:12AM -0700, Paul E. McKenney wrote: /* softirq mask and active fields moved to irq_cpustat_t in diff -urpNa -X dontdiff