Skip to content

RFC xen: credit2: rb-tree for runqueues

Praveen Kumar xen-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 RFC Latest2 patches 6 repliesIn review
  2. v1 RFC1 patch 4 repliesSuperseded

Changes in v2 from the cover letter

* Renamed the rb_runq_insert
* Corrected the next probable runq element from rb_first to rb_last
* Introduced new cached attribute to have next runqueue entry cached

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2xen: credit2: rb-tree for runqueuesxen/common/sched_credit2.c+55 -333 replies
2/2xen: credit2: cached attribute for next runqueue entryxen/common/sched_credit2.c+9 -41 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [RFC PATCH v2 0/2] xen: credit2: rb-tree for runqueues

Hi All,

This is the continued work with respect to rb-tree usage in Credit2, as mentioned in previous conversations

https://lists.xen.org/archives/html/xen-devel/2017-06/msg01968.html
https://lists.xen.org/archives/html/xen-devel/2018-04/msg00119.html

The patch optimized the Credit2 runqueue from sorted queue to rb-tree. This will help in performance and scalability, when we have huge number of vCPUs.

Please provide your comments over the changes done.

Changes since v1:
* Renamed the rb_runq_insert
* Corrected the next probable runq element from rb_first to rb_last
* Introduced new cached attribute to have next runqueue entry cached

root (2):
xen: credit2: rb-tree for runqueues
xen: credit2: cached attribute for next runqueue entry

 xen/common/sched_credit2.c | 95 +++++++++++++++++++++++++++++-----------------
 1 file changed, 61 insertions(+), 34 deletions(-)
Signature · 7 lines
2.13.7


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel