Skip to content

rbree: inline rb_first() and rb_last()

Eric Dumazet lkml netdev 1 version Applied

Status from this message: [merged mm-nonmm-stable] rbtree-inline-rb_last.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesApplied 2/2

Patches in v1 All 2 applied

#Subject and filesSizeRepliesApplied
1/2rbtree: inline rb_first()include/linux/rbtree.h lib/rbtree.c+15 -170 repliesApplied
2/2rbtree: inline rb_last()include/linux/rbtree.h lib/rbtree.c+15 -140 repliesApplied

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchKuan-Wei Chiu
SeriesR-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] rbree: inline rb_first() and rb_last()

Inline these two small helpers, heavily used in TCP and FQ packet scheduler, and in many other places.

This reduces kernel text size, and brings an 1.5 % improvement on network TCP stress test.

Eric Dumazet (2):
rbtree: inline rb_first()
rbtree: inline rb_last()

 include/linux/rbtree.h | 32 ++++++++++++++++++++++++++++++--
 lib/rbtree.c           | 29 -----------------------------
 2 files changed, 30 insertions(+), 31 deletions(-)
Signature · 1 line
2.52.0.rc1.455.g30608eb744-goog