Re: Fwd: Re: [RFC] kvm tools: Implement multiple VQ for virtio-net

2011-11-24 Thread Mathieu Desnoyers
(currently in a development branch of the userspace RCU git tree : urcu/ht-shrink, not yet in master) is suitable for use in the Linux kernel too. Best regards, Mathieu -- Mathieu Desnoyers Operating System Efficiency RD Consultant EfficiOS Inc. http://www.efficios.com -- To unsubscribe from

Re: RCU red-black tree (was: Re: [PATCH 4/6] kvm tools: Add rwlock wrapper)

2011-06-02 Thread Mathieu Desnoyers
documentation in the code explaining how I deal with search/prev/next reads vs concurrent writers. Feedback about the API would be very welcome! It's all available in the urcu rbtree2 branch. Thanks! Mathieu -- Mathieu Desnoyers Operating System Efficiency RD Consultant EfficiOS Inc. http

Re: RCU red-black tree (was: Re: [PATCH 4/6] kvm tools: Add rwlock wrapper)

2011-05-30 Thread Mathieu Desnoyers
* Paul E. McKenney (paul...@linux.vnet.ibm.com) wrote: On Sun, May 29, 2011 at 01:01:04PM -0400, Mathieu Desnoyers wrote: * Mathieu Desnoyers (mathieu.desnoy...@efficios.com) wrote: * Sasha Levin (levinsasha...@gmail.com) wrote: [...] Hi Mathieu! In tools/kvm/ we use a rb-tree

Re: RCU red-black tree (was: Re: [PATCH 4/6] kvm tools: Add rwlock wrapper)

2011-05-30 Thread Mathieu Desnoyers
* Sasha Levin (levinsasha...@gmail.com) wrote: On Sun, 2011-05-29 at 22:54 -0400, Mathieu Desnoyers wrote: Please note that what I currently have is a normal rbtree, not an interval rbtree. Can you elaborate on your use-case so I can try to figure out how we could augment it to support

Re: RCU red-black tree (was: Re: [PATCH 4/6] kvm tools: Add rwlock wrapper)

2011-05-30 Thread Mathieu Desnoyers
* Sasha Levin (levinsasha...@gmail.com) wrote: On Sun, 2011-05-29 at 22:54 -0400, Mathieu Desnoyers wrote: Please note that what I currently have is a normal rbtree, not an interval rbtree. Can you elaborate on your use-case so I can try to figure out how we could augment it to support

Re: RCU red-black tree (was: Re: [PATCH 4/6] kvm tools: Add rwlock wrapper)

2011-05-30 Thread Mathieu Desnoyers
* Mathieu Desnoyers (mathieu.desnoy...@efficios.com) wrote: * Sasha Levin (levinsasha...@gmail.com) wrote: On Sun, 2011-05-29 at 22:54 -0400, Mathieu Desnoyers wrote: Please note that what I currently have is a normal rbtree, not an interval rbtree. Can you elaborate on your use-case so I

Re: RCU red-black tree (was: Re: [PATCH 4/6] kvm tools: Add rwlock wrapper)

2011-05-30 Thread Mathieu Desnoyers
* Sasha Levin (levinsasha...@gmail.com) wrote: On Mon, 2011-05-30 at 13:38 -0400, Mathieu Desnoyers wrote: * Sasha Levin (levinsasha...@gmail.com) wrote: On Sun, 2011-05-29 at 22:54 -0400, Mathieu Desnoyers wrote: Please note that what I currently have is a normal rbtree

RCU red-black tree (was: Re: [PATCH 4/6] kvm tools: Add rwlock wrapper)

2011-05-29 Thread Mathieu Desnoyers
* Mathieu Desnoyers (mathieu.desnoy...@efficios.com) wrote: * Sasha Levin (levinsasha...@gmail.com) wrote: [...] Hi Mathieu! In tools/kvm/ we use a rb-tree (same one used by the kernel) with the augmentation feature to support an interval rb-tree - which means that every update

Re: RCU red-black tree (was: Re: [PATCH 4/6] kvm tools: Add rwlock wrapper)

2011-05-29 Thread Mathieu Desnoyers
* Sasha Levin (levinsasha...@gmail.com) wrote: On Sun, 2011-05-29 at 13:01 -0400, Mathieu Desnoyers wrote: * Mathieu Desnoyers (mathieu.desnoy...@efficios.com) wrote: * Sasha Levin (levinsasha...@gmail.com) wrote: [...] Hi Mathieu! In tools/kvm/ we use a rb-tree (same one used

Re: [PATCH 4/6] kvm tools: Add rwlock wrapper

2011-05-27 Thread Mathieu Desnoyers
, hence the use of LGPL for all my libs that support application execution. Thanks, Mathieu -- Mathieu Desnoyers Operating System Efficiency RD Consultant EfficiOS Inc. http://www.efficios.com -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to majord

Re: [PATCH 4/6] kvm tools: Add rwlock wrapper

2011-05-27 Thread Mathieu Desnoyers
* Sasha Levin (levinsasha...@gmail.com) wrote: On Thu, 2011-05-26 at 19:09 -0400, Mathieu Desnoyers wrote: * Sasha Levin (levinsasha...@gmail.com) wrote: On Thu, 2011-05-26 at 21:21 +0300, Pekka Enberg wrote: On Thu, May 26, 2011 at 9:11 PM, Avi Kivity a...@redhat.com wrote: On 05

Re: [PATCH 4/6] kvm tools: Add rwlock wrapper

2011-05-27 Thread Mathieu Desnoyers
* Ingo Molnar (mi...@elte.hu) wrote: * Mathieu Desnoyers mathieu.desnoy...@efficios.com wrote: - Check kernel/tinyrcu.c to see how RCU is implemented in its simplest form. :) ...so simplistic it only works on UP systems, which are not so common these days on the systems

Re: [PATCH 4/6] kvm tools: Add rwlock wrapper

2011-05-27 Thread Mathieu Desnoyers
* Ingo Molnar (mi...@elte.hu) wrote: * Mathieu Desnoyers mathieu.desnoy...@efficios.com wrote: it's offline right now: $ git clone git://git.lttng.org/urcu Cloning into urcu... fatal: The remote end hung up unexpectedly This would be: git clone git://git.lttng.org

Re: [PATCH 4/6] kvm tools: Add rwlock wrapper

2011-05-27 Thread Mathieu Desnoyers
to interesting race conditions. Any thoughts on how to address these ? Thanks, Mathieu -- Mathieu Desnoyers Operating System Efficiency RD Consultant EfficiOS Inc. http://www.efficios.com -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to majord...@vger.kernel.org

Re: [PATCH 4/6] kvm tools: Add rwlock wrapper

2011-05-27 Thread Mathieu Desnoyers
. Thanks, Mathieu -- Mathieu Desnoyers Operating System Efficiency RD Consultant EfficiOS Inc. http://www.efficios.com -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo

Re: [PATCH 4/6] kvm tools: Add rwlock wrapper

2011-05-26 Thread Mathieu Desnoyers
syndrome ? Mathieu -- Mathieu Desnoyers Operating System Efficiency RD Consultant EfficiOS Inc. http://www.efficios.com -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo

Re: [PATCH 4/6] kvm tools: Add rwlock wrapper

2011-05-26 Thread Mathieu Desnoyers
be found at http://www.efficios.com/publications Thanks! Mathieu -- Mathieu Desnoyers Operating System Efficiency RD Consultant EfficiOS Inc. http://www.efficios.com -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to majord...@vger.kernel.org More majordomo

Re: [BUG] Linux 2.6.28.4 freezing on a 32-bits x86 Thinkpad T43p

2009-02-11 Thread Mathieu Desnoyers
* Ingo Molnar (mi...@elte.hu) wrote: * Mathieu Desnoyers mathieu.desnoy...@polymtl.ca wrote: Here is a new backtrace, taken with a huge amount of debugging active, which still points to an interrupt handler nested over kvm_mmu_pte_write as the culprit. It's weird that the kvm

Re: [ltt-dev] [BUG] Linux 2.6.28.4 freezing on a 32-bits x86 Thinkpad T43p

2009-02-11 Thread Mathieu Desnoyers
* Mathieu Desnoyers (mathieu.desnoy...@polymtl.ca) wrote: * Ingo Molnar (mi...@elte.hu) wrote: * Mathieu Desnoyers mathieu.desnoy...@polymtl.ca wrote: Here is a new backtrace, taken with a huge amount of debugging active, which still points to an interrupt handler nested over

Re: [PATCH] markers: comment marker_synchronize_unregister() on data dependency

2008-11-27 Thread Mathieu Desnoyers
resources that the probes depend on. Based on comments from Lai Jiangshan and Mathieu Desnoyers. Cc: Lai Jiangshan [EMAIL PROTECTED] Cc: Mathieu Desnoyers [EMAIL PROTECTED] Signed-off-by: Wu Fengguang [EMAIL PROTECTED] --- diff --git a/Documentation/markers.txt b

Re: [PATCH] markers: comment marker_synchronize_unregister() on data dependency

2008-11-27 Thread Mathieu Desnoyers
* Wu Fengguang ([EMAIL PROTECTED]) wrote: On Thu, Nov 27, 2008 at 10:00:03AM +0200, Mathieu Desnoyers wrote: * Wu Fengguang ([EMAIL PROTECTED]) wrote: + +marker_synchronize_unregister() must be called before the first occurrence of You should probably say .. must

[RFC] LTTng merge plan

2008-07-27 Thread Mathieu Desnoyers
* Avi Kivity ([EMAIL PROTECTED]) wrote: Mathieu Desnoyers wrote: Yes, but the userspace side would collect the format strings as well (just once) and could put them in the same file. The aggregation is portable across kernel versions. Yes, LTTng does exactly all

Re: [patch 4/4] KVM-trace port to tracepoints

2008-07-23 Thread Mathieu Desnoyers
-- Mathieu Desnoyers OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68 -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [patch 4/4] KVM-trace port to tracepoints

2008-07-23 Thread Mathieu Desnoyers
analysis. Mathieu -- Mathieu Desnoyers OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68 -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [patch 0/4] Port KVM-trace to tracepoints - LTTng ?

2008-07-22 Thread Mathieu Desnoyers
://ltt.polymtl.ca/packages/lttv-0.10.0-pre14-17072008.tar.gz http://ltt.polymtl.ca/packages/markers-userspace-0.5.tar.bz2 I'll be more than happy to answer your questions. Mathieu -- I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain. -- Mathieu

[patch 0/4] Port KVM-trace to tracepoints

2008-07-17 Thread Mathieu Desnoyers
); Sprinkled all across the KVM C code becomes : trace_kvm_cr_write(vcpu, cr, reg); Which looks much nicer, IMHO. It applies on top of linux-next patch-v2.6.26-next-20080715. Mathieu -- Mathieu Desnoyers Computer Engineering Ph.D. Student, Ecole Polytechnique de Montreal OpenPGP key

[patch 2/4] kvm move VMCS read to system headers

2008-07-17 Thread Mathieu Desnoyers
The VMCS read will be needed by the kvm-trace probes. Put them in static inline functions in system-side headers instead of in the C file. Signed-off-by: Mathieu Desnoyers [EMAIL PROTECTED] CC: 'Peter Zijlstra' [EMAIL PROTECTED] CC: 'Feng(Eric) Liu' [EMAIL PROTECTED] CC: Avi Kivity [EMAIL

[patch 3/4] KVM move register read-write to system headers

2008-07-17 Thread Mathieu Desnoyers
Needed by kvm_tracer probes, which are outside of arch/x86/kvm. Signed-off-by: Mathieu Desnoyers [EMAIL PROTECTED] CC: 'Peter Zijlstra' [EMAIL PROTECTED] CC: 'Feng(Eric) Liu' [EMAIL PROTECTED] CC: Avi Kivity [EMAIL PROTECTED] CC: kvm@vger.kernel.org --- arch/x86/kvm/kvm_cache_regs.h| 32

Re: [patch 4/4] KVM-trace port to tracepoints

2008-07-17 Thread Mathieu Desnoyers
* Jan Kiszka ([EMAIL PROTECTED]) wrote: Mathieu Desnoyers wrote: Port/cleanup of KVM-trace to tracepoints. Tracepoints allow dormat instrumentation, like the kernel markers, but also allows to describe the trace points in global headers so they can be easily managed. They also do