* Eric Wong (normalper...@yhbt.net) wrote:
> Mathieu Desnoyers wrote:
> > It is provided as a starting point only. Test cases should be ported
> > from Userspace RCU to kernel space and thoroughly ran on a wide range of
> > architectures before considering this port production-ready.
>
> Hi
Mathieu Desnoyers wrote:
> It is provided as a starting point only. Test cases should be ported
> from Userspace RCU to kernel space and thoroughly ran on a wide range of
> architectures before considering this port production-ready.
Hi Mathieu, any progress on this front? I'm not sure how to
Mathieu Desnoyers mathieu.desnoy...@efficios.com wrote:
It is provided as a starting point only. Test cases should be ported
from Userspace RCU to kernel space and thoroughly ran on a wide range of
architectures before considering this port production-ready.
Hi Mathieu, any progress on this
* Eric Wong (normalper...@yhbt.net) wrote:
Mathieu Desnoyers mathieu.desnoy...@efficios.com wrote:
It is provided as a starting point only. Test cases should be ported
from Userspace RCU to kernel space and thoroughly ran on a wide range of
architectures before considering this port
Mathieu Desnoyers wrote:
> Thanks for providing this detailed scenario. I think there is an
> important aspect in the use of splice I suggested on which we are not
> fully understanding each other. I will annotate your scenario below with
> clarifications:
Ah yes, I somehow thought splice would
Mathieu Desnoyers mathieu.desnoy...@efficios.com wrote:
Thanks for providing this detailed scenario. I think there is an
important aspect in the use of splice I suggested on which we are not
fully understanding each other. I will annotate your scenario below with
clarifications:
Ah yes, I
* Eric Wong (normalper...@yhbt.net) wrote:
> Eric Wong wrote:
> > Mathieu Desnoyers wrote:
> > > * Eric Wong (normalper...@yhbt.net) wrote:
> > > > Mathieu Desnoyers wrote:
> > > > > +/*
> > > > > + * Load a data from shared memory.
> > > > > + */
> > > > > +#define CMM_LOAD_SHARED(p)
Eric Wong wrote:
> Mathieu Desnoyers wrote:
> > * Eric Wong (normalper...@yhbt.net) wrote:
> > > Mathieu Desnoyers wrote:
> > > > +/*
> > > > + * Load a data from shared memory.
> > > > + */
> > > > +#define CMM_LOAD_SHARED(p) ACCESS_ONCE(p)
> > >
> > > When iterating through the
Eric Wong normalper...@yhbt.net wrote:
Mathieu Desnoyers mathieu.desnoy...@efficios.com wrote:
* Eric Wong (normalper...@yhbt.net) wrote:
Mathieu Desnoyers mathieu.desnoy...@efficios.com wrote:
+/*
+ * Load a data from shared memory.
+ */
+#define CMM_LOAD_SHARED(p)
* Eric Wong (normalper...@yhbt.net) wrote:
Eric Wong normalper...@yhbt.net wrote:
Mathieu Desnoyers mathieu.desnoy...@efficios.com wrote:
* Eric Wong (normalper...@yhbt.net) wrote:
Mathieu Desnoyers mathieu.desnoy...@efficios.com wrote:
+/*
+ * Load a data from shared memory.
* Eric Wong (normalper...@yhbt.net) wrote:
> Mathieu Desnoyers wrote:
> > * Eric Wong (normalper...@yhbt.net) wrote:
> > > Mathieu Desnoyers wrote:
> > > > The advantage of using splice() over dequeue() is that you will reduce
> > > > the amount of interactions between concurrent enqueue and
* Peter Hurley (pe...@hurleysoftware.com) wrote:
> On Mon, 2013-03-11 at 17:36 -0400, Mathieu Desnoyers wrote:
> > +/*
> > + * Do not put head and tail on the same cache-line if concurrent
> > + * enqueue/dequeue are expected from many CPUs. This eliminates
> > + * false-sharing between enqueue
On Mon, 2013-03-11 at 17:36 -0400, Mathieu Desnoyers wrote:
> +/*
> + * Do not put head and tail on the same cache-line if concurrent
> + * enqueue/dequeue are expected from many CPUs. This eliminates
> + * false-sharing between enqueue and dequeue.
> + */
> +struct wfcq_head {
> + struct
Mathieu Desnoyers wrote:
> * Eric Wong (normalper...@yhbt.net) wrote:
> > Mathieu Desnoyers wrote:
> > > The advantage of using splice() over dequeue() is that you will reduce
> > > the amount of interactions between concurrent enqueue and dequeue
> > > operations on the head and tail of the
* Eric Wong (normalper...@yhbt.net) wrote:
> Mathieu Desnoyers wrote:
> > * Eric Wong (normalper...@yhbt.net) wrote:
> > > Mathieu Desnoyers wrote:
> > > > +/*
> > > > + * Load a data from shared memory.
> > > > + */
> > > > +#define CMM_LOAD_SHARED(p) ACCESS_ONCE(p)
> > >
> > >
Mathieu Desnoyers wrote:
> * Eric Wong (normalper...@yhbt.net) wrote:
> > Mathieu Desnoyers wrote:
> > > +/*
> > > + * Load a data from shared memory.
> > > + */
> > > +#define CMM_LOAD_SHARED(p) ACCESS_ONCE(p)
> >
> > When iterating through the queue by dequeueing, I needed a way
Ported to the Linux kernel from Userspace RCU library, at commit
108a92e5b97ee91b2b902dba2dd2e78aab42f420.
Ref: http://git.lttng.org/userspace-rcu.git
It is provided as a starting point only. Test cases should be ported
from Userspace RCU to kernel space and thoroughly ran on a wide range of
* Eric Wong (normalper...@yhbt.net) wrote:
> Mathieu Desnoyers wrote:
> > Ported to the Linux kernel from Userspace RCU library, at commit
> > 108a92e5b97ee91b2b902dba2dd2e78aab42f420.
> >
> > Ref: http://git.lttng.org/userspace-rcu.git
> >
> > It is provided as a starting point only. Test
* Eric Wong (normalper...@yhbt.net) wrote:
Mathieu Desnoyers mathieu.desnoy...@efficios.com wrote:
Ported to the Linux kernel from Userspace RCU library, at commit
108a92e5b97ee91b2b902dba2dd2e78aab42f420.
Ref: http://git.lttng.org/userspace-rcu.git
It is provided as a starting
Ported to the Linux kernel from Userspace RCU library, at commit
108a92e5b97ee91b2b902dba2dd2e78aab42f420.
Ref: http://git.lttng.org/userspace-rcu.git
It is provided as a starting point only. Test cases should be ported
from Userspace RCU to kernel space and thoroughly ran on a wide range of
Mathieu Desnoyers mathieu.desnoy...@efficios.com wrote:
* Eric Wong (normalper...@yhbt.net) wrote:
Mathieu Desnoyers mathieu.desnoy...@efficios.com wrote:
+/*
+ * Load a data from shared memory.
+ */
+#define CMM_LOAD_SHARED(p) ACCESS_ONCE(p)
When iterating
* Eric Wong (normalper...@yhbt.net) wrote:
Mathieu Desnoyers mathieu.desnoy...@efficios.com wrote:
* Eric Wong (normalper...@yhbt.net) wrote:
Mathieu Desnoyers mathieu.desnoy...@efficios.com wrote:
+/*
+ * Load a data from shared memory.
+ */
+#define CMM_LOAD_SHARED(p)
Mathieu Desnoyers mathieu.desnoy...@efficios.com wrote:
* Eric Wong (normalper...@yhbt.net) wrote:
Mathieu Desnoyers mathieu.desnoy...@efficios.com wrote:
The advantage of using splice() over dequeue() is that you will reduce
the amount of interactions between concurrent enqueue and
On Mon, 2013-03-11 at 17:36 -0400, Mathieu Desnoyers wrote:
+/*
+ * Do not put head and tail on the same cache-line if concurrent
+ * enqueue/dequeue are expected from many CPUs. This eliminates
+ * false-sharing between enqueue and dequeue.
+ */
+struct wfcq_head {
+ struct wfcq_node
* Peter Hurley (pe...@hurleysoftware.com) wrote:
On Mon, 2013-03-11 at 17:36 -0400, Mathieu Desnoyers wrote:
+/*
+ * Do not put head and tail on the same cache-line if concurrent
+ * enqueue/dequeue are expected from many CPUs. This eliminates
+ * false-sharing between enqueue and
* Eric Wong (normalper...@yhbt.net) wrote:
Mathieu Desnoyers mathieu.desnoy...@efficios.com wrote:
* Eric Wong (normalper...@yhbt.net) wrote:
Mathieu Desnoyers mathieu.desnoy...@efficios.com wrote:
The advantage of using splice() over dequeue() is that you will reduce
the amount of
Mathieu Desnoyers wrote:
> Ported to the Linux kernel from Userspace RCU library, at commit
> 108a92e5b97ee91b2b902dba2dd2e78aab42f420.
>
> Ref: http://git.lttng.org/userspace-rcu.git
>
> It is provided as a starting point only. Test cases should be ported
> from Userspace RCU to kernel space
Mathieu Desnoyers mathieu.desnoy...@efficios.com wrote:
Ported to the Linux kernel from Userspace RCU library, at commit
108a92e5b97ee91b2b902dba2dd2e78aab42f420.
Ref: http://git.lttng.org/userspace-rcu.git
It is provided as a starting point only. Test cases should be ported
from
Ported to the Linux kernel from Userspace RCU library, at commit
108a92e5b97ee91b2b902dba2dd2e78aab42f420.
Ref: http://git.lttng.org/userspace-rcu.git
It is provided as a starting point only. Test cases should be ported
from Userspace RCU to kernel space and thoroughly ran on a wide range of
Ported to the Linux kernel from Userspace RCU library, at commit
108a92e5b97ee91b2b902dba2dd2e78aab42f420.
Ref: http://git.lttng.org/userspace-rcu.git
It is provided as a starting point only. Test cases should be ported
from Userspace RCU to kernel space and thoroughly ran on a wide range of
30 matches
Mail list logo