Skip to content

Fixes and improvement (including hard affinity!) for Credit2

Dario Faggioli xen-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest11 patches 13 repliesIn review
  2. v211 patches 8 repliesSuperseded
  3. v116 patches 44 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11xen: sched: make implementing .alloc_pdata optionalxen/common/sched_arinc653.c xen/common/sched_credit.c xen/common/sched_credit2.c +2 more+25 -481 reply
2/11xen: sched: implement .init_pdata in Credit, Credit2 and RTDSxen/common/sched_credit.c xen/common/sched_credit2.c xen/common/sched_rt.c+28 -750 replies
3/11xen: sched: move pCPU initialization in an helperxen/common/sched_credit.c xen/common/sched_credit2.c+28 -180 replies
4/11xen: sched: close potential races when switching scheduler to CPUsxen/common/sched_arinc653.c xen/common/sched_credit.c xen/common/sched_credit2.c +3 more+206 -425 replies
5/11xen: sched: improve credit2 bootparams' scope, placement and signednessxen/common/sched_credit2.c+5 -50 replies
6/11xen: sched: on Credit2, don't reprogram the timer if idlexen/common/sched_credit2.c+5 -10 replies
7/11xen: sched: fix per-socket runqueue creation in credit2xen/common/sched_credit2.c+43 -160 replies
8/11xen: sched: allow for choosing credit2 runqueues configuration at bootdocs/misc/xen-command-line.markdown xen/common/sched_credit2.c+97 -55 replies
9/11xen: sched: per-core runqueues as default in credit2docs/misc/xen-command-line.markdown xen/common/sched_credit2.c+2 -20 replies
10/11xen: sched: privde some scratch space for not putting cpumasks on stackxen/common/sched_credit.c xen/common/sched_credit2.c xen/common/sched_rt.c +2 more+25 -810 replies
11/11xen: sched: implement vcpu hard affinity in Credit2xen/common/sched_credit2.c+102 -290 replies

Reviews trailers per patch

All 11 patches have a Reviewed-by or Acked-by.

PatchMeng XuJuergen GrossGeorge DunlapRobert VanVossen
1/11R-b R-b A-b A-b
2/11R-b R-b
3/11R-b
4/11R-b A-b
5/11R-b A-b
6/11A-b
7/11R-b
8/11R-b R-b
9/11R-b A-b
10/11R-b
11/11A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v3 thread

Cover letter [PATCH v3 00/11] Fixes and improvement (including hard affinity!) for Credit2

And here it comes take 3.

I've addressed George's review comments (and, indirectly, while doing that, Juergen's one as well).

Now it's only these two patches that need being Acked:

04/11 xen: sched: close potential races when switching scheduler to CPUs 08/11 xen: sched: allow for choosing credit2 runqueues configuration at boot

Previous version (v2) is here:
http://lists.xen.org/archives/html/xen-devel/2016-04/msg00783.html

And there is a git branch for this version here:
git://xenbits.xen.org/people/dariof/xen.git rel/sched/credit2/fix-runq-and-haff-v3
http://xenbits.xen.org/gitweb/?p=people/dariof/xen.git;a=shortlog;h=refs/heads/rel/sched/credit2/fix-runq-and-haff-v3

Thanks and Regards,
Dario
---
Dario Faggioli (9):
xen: sched: make implementing .alloc_pdata optional
xen: sched: implement .init_pdata in Credit, Credit2 and RTDS
xen: sched: move pCPU initialization in an helper
xen: sched: close potential races when switching scheduler to CPUs
xen: sched: on Credit2, don't reprogram the timer if idle
xen: sched: fix per-socket runqueue creation in credit2
xen: sched: allow for choosing credit2 runqueues configuration at boot
xen: sched: per-core runqueues as default in credit2
xen: sched: privde some scratch space for not putting cpumasks on stack

Justin Weaver (1):
xen: sched: implement vcpu hard affinity in Credit2

Uma Sharma (1):
xen: sched: improve credit2 bootparams' scope, placement and signedness

 docs/misc/xen-command-line.markdown |   19 ++
 xen/common/sched_arinc653.c         |   65 +++--
 xen/common/sched_credit.c           |  103 ++++++--
 xen/common/sched_credit2.c          |  443 ++++++++++++++++++++++++-----------
 xen/common/sched_rt.c               |  117 ++++-----
 xen/common/schedule.c               |   76 +++++-
 xen/include/xen/sched-if.h          |    7 +
 7 files changed, 537 insertions(+), 293 deletions(-)

--
<<This happens because I choose it to happen!>> (Raistlin Majere)
-----------------------------------------------------------------
Dario Faggioli, Ph.D, http://about.me/dario.faggioli
Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel