[PATCH RFC v4 0/3] Some optimization for lockless qdisc

From: Yunsheng Lin
Date: Thu May 20 2021 - 05:29:59 EST


Patch 1: remove unnecessary seqcount operation.
Patch 2: implement TCQ_F_CAN_BYPASS.
Patch 3: remove qdisc->empty.

RFC v4: Use STATE_MISSED and STATE_DRAINING to indicate non-empty
qdisc, and add patch 1 and 3.

Yunsheng Lin (3):
net: sched: avoid unnecessary seqcount operation for lockless qdisc
net: sched: implement TCQ_F_CAN_BYPASS for lockless qdisc
net: sched: remove qdisc->empty for lockless qdisc

include/net/sch_generic.h | 26 +++++++++++++-------------
net/core/dev.c | 22 ++++++++++++++++++++--
net/sched/sch_generic.c | 23 ++++++++++++++++-------
3 files changed, 49 insertions(+), 22 deletions(-)

--
2.7.4