: pkt_sched.h cleanup + misc changes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest11 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/11 | : sch_netem: fix off-by-one in send time comparisonnet/ | +1 | 1 reply | |
| 2/11 | : kill PSCHED_AUDIT_TDIFFinclude/ net/ | +0 | 0 replies | |
| 3/11 | : kill PSCHED_TADD/PSCHED_TADD2include/ net/ net/ | +7 | 0 replies | |
| 4/11 | : kill PSCHED_TLESSinclude/ net/ net/ | +6 | 0 replies | |
| 5/11 | : kill PSCHED_SET_PASTPERFECT/PSCHED_IS_PASTPERFECTinclude/ include/ net/ +1 more | +12 | 0 replies | |
| 6/11 | : kill PSCHED_TDIFFinclude/ net/ | +7 | 0 replies | |
| 7/11 | : turn PSCHED_TDIFF_SAFE into inline functioninclude/ include/ net/ +2 more | +14 | 0 replies | |
| 8/11 | : turn PSCHED_GET_TIME into inline functioninclude/ include/ net/ +5 more | +29 | 0 replies | |
| 9/11 | : Unline tcf_destroyinclude/ net/ net/ +6 more | +30 | 0 replies | |
| 10/11 | : qdisc: remove unnecessary memory barriersnet/ | +0 | 0 replies | |
| 11/11 | : qdisc: avoid dequeue while throttlednet/ net/ | +4 | 3 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [NET_SCHED 00/11]: pkt_sched.h cleanup + misc changes
These patches fix an off-by-one in netem, clean up pkt_sched.h by removing most of the now unnecessary PSCHED time macros and turning the two remaining ones into inline functions, consolidate some common filter destruction code and move the TCQ_F_THROTTLED optimization from netem to qdisc_restart.
Please apply, thanks.
include/net/pkt_sched.h | 24 +++++++------- include/net/red.h | 10 +++--- include/net/sch_generic.h | 10 +----- net/sched/act_police.c | 17 ++++------ net/sched/sch_api.c | 20 ++++++++++-- net/sched/sch_atm.c | 17 +--------- net/sched/sch_cbq.c | 76 ++++++++++++++++++---------------------------- net/sched/sch_dsmark.c | 8 ---- net/sched/sch_generic.c | 4 ++ net/sched/sch_hfsc.c | 23 +++---------- net/sched/sch_htb.c | 24 ++++---------- net/sched/sch_ingress.c | 7 ---- net/sched/sch_netem.c | 24 +++++--------- net/sched/sch_prio.c | 7 ---- net/sched/sch_tbf.c | 9 ++--- 15 files changed, 110 insertions(+), 170 deletions(-)
Patrick McHardy (11):
[NET_SCHED]: sch_netem: fix off-by-one in send time comparison [NET_SCHED]: kill PSCHED_AUDIT_TDIFF
[NET_SCHED]: kill PSCHED_TADD/PSCHED_TADD2 [NET_SCHED]: kill PSCHED_TLESS
[NET_SCHED]: kill PSCHED_SET_PASTPERFECT/PSCHED_IS_PASTPERFECT [NET_SCHED]: kill PSCHED_TDIFF
[NET_SCHED]: turn PSCHED_TDIFF_SAFE into inline function [NET_SCHED]: turn PSCHED_GET_TIME into inline function [NET_SCHED]: Unline tcf_destroy
[NET_SCHED]: qdisc: remove unnecessary memory barriers [NET_SCHED]: qdisc: avoid dequeue while throttled