Re: [RFC PATCH v2 01/10] net: sched: allow qdiscs to handle locking

2016-07-13 Thread John Fastabend
On 16-07-13 11:19 PM, John Fastabend wrote: > This patch adds a flag for queueing disciplines to indicate the stack > does not need to use the qdisc lock to protect operations. This can > be used to build lockless scheduling algorithms and improving > performance. > > The flag is checked in the tx

[RFC PATCH v2 01/10] net: sched: allow qdiscs to handle locking

2016-07-13 Thread John Fastabend
This patch adds a flag for queueing disciplines to indicate the stack does not need to use the qdisc lock to protect operations. This can be used to build lockless scheduling algorithms and improving performance. The flag is checked in the tx path and the qdisc lock is only taken if it is not set.