Re: [patch 08/23] dynticks: prepare the RCU code




* Dipankar Sarma <dipankar@xxxxxxxxxx> wrote:

secondly, i think i saw functionality problems when RCU was not
completed before going idle - for example synchronize_rcu() on
another CPU would hang.

That is probably because of what I mention above. In the original
CONFIG_NO_IDLE_HZ, we don't go into a nohz state if there are RCUs
pending in that cpu.

hm. I just tried it and it seems completing RCU processing isnt even
necessary. I'll drop the RCU hackery. If we need anything then in
synchronize_rcu [which is a rare and slowpath op]: there (on NO_HZ) we
should tickle all cpus via an smp_call_function().

Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: measuring one requests cpu usage?
    ... cpu usage, and no reliable way to separate them out from any measurement. ... Probably you'd be better off profiling your app with profiling tools and ... but it is typically quite hard to simulate live load on test systems, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: [PATCH] 2.6.17-rt1 : fix x86_64 oops
    ... from one CPU to another while it is executing a IRQ-handler. ... RCU implementations. ... +static inline int rcu_batch_before ... * one since the start of the grace period. ...
    (Linux-Kernel)
  • Re: [PATCH tip/core/rcu] classic RCU locking and memory-barrier cleanups
    ... It boots with qemu, rcu torture enabled, both single and 8-cpu. ... int qlowmark = 0; ... struct rcu_cpu_state *rcs) ... If e.g. a new cpu starts up it ...
    (Linux-Kernel)
  • Re: [PATCH tip/core/rcu] classic RCU locking and memory-barrier cleanups
    ... It boots with qemu, rcu torture enabled, both single and 8-cpu. ... int qlowmark = 0; ... struct rcu_cpu_state *rcs) ... If e.g. a new cpu starts up it ...
    (Linux-Kernel)
  • Re: [PATCH RFC 3/9] RCU: Preemptible RCU
    ... The _bh variant is identical to straight RCU. ... * Attempt a single flip of the counters. ... So if the RCU grace-period machinery is idle, the first CPU to take ... Forcing a memory barrier on each CPU guarantees ...
    (Linux-Kernel)