Re: [PATCH tip/tracing/markers] new probes manager




* Mathieu Desnoyers <compudj@xxxxxxxxxxxxxxxxxx> wrote:

* Mathieu Desnoyers (mathieu.desnoyers@xxxxxxxxxx) wrote:
* Lai Jiangshan (laijs@xxxxxxxxxxxxxx) wrote:

this patch use a new probes manager for marker.

the most important benefit of this patch is:
1) smp_rmb() is removed from the critical path. as we know rmb()
is very expensive.


Do you have performance measurements for this ? On x86 it's a nop,
AFAIK.

My statement above is inexact : x86_64 uses lfence for rmb(). But
numbers would still be welcome.

yes, the statement that rmb() is very expensive looks dubious. It is
absolutely cheap everywhere.

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: [Patch] Support UTF-8 scripts
    ... In what way do I get this feature for text in general? ... > marker officially in general - especially if the kernel supports it. ... I have no plans to submit such a patch. ... more on the OS the editor runs on. ...
    (Linux-Kernel)
  • Re: [PATCH 1/1] x86: fix text_poke
    ... That we better make consistent anyway, via the patch ... one theoretical worry i have is that we've got the pending immediate ... sequences to turn a marker into a single-instruction NOP when the marker ... /* Could also do a CLFLUSH here to speed up CPU recovery; ...
    (Linux-Kernel)
  • Re: [PATCH] Immunize rcu_dereference() against crazy compiler writers
    ... from messing up rcu_deference. ... as evidenced by the rmb() in mce_log. ... the compiler is not permitted to move volatile ... I will happy to update the patch to leave the rmbbut to update the ...
    (Linux-Kernel)
  • Re: [PATCH] tracing/function-graph-tracer: adjustments of the trace informations
    ... This patch applies various changes. ... _CPU is now a decimal number, ... _CPU and Overhead have their own option flag. ... marker to these lines? ...
    (Linux-Kernel)
  • Re: FreeBSD NAT-T patch integration [CFR/CFT]
    ... Please edit the sam_nat_t branch in p4 or send a patch I can apply. ... uint64_t marker; ... which I noticed yesterday when I tried to ... That was for other people who may be interested in those patches. ...
    (freebsd-net)