Skip to content

xen/sched: use new idle scheduler for free cpus

Juergen Gross xen-devel 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest4 patches 1 replyIn review
  2. v34 patches 4 repliesSuperseded
  3. v23 patches 4 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v13 patches11 repliesSuperseded

Changes in v4 from the cover letter

- fix a bug when unassigning a cpu not in a cpupool (patch 2)

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4xen/sched: populate cpupool0 only after all cpus are upxen/common/cpupool.c+14 -40 replies
2/4xen/sched: remove cpu from pool0 before removing itxen/common/cpupool.c xen/common/schedule.c xen/include/xen/sched-if.h+130 -811 reply
3/4xen/sched: add minimalistic idle scheduler for free cpusxen/common/sched_credit.c xen/common/sched_null.c xen/common/schedule.c+75 -940 replies
4/4xen/sched: switch to debugtrace in cpupool handlingxen/common/cpupool.c+23 -250 replies

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by.

PatchDario Faggioli
1/4R-b
2/4Reviewed-and-Tested-by
3/4A-b
4/4A-b

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

Read the v4 thread

Cover letter [Xen-devel] [PATCH v4 0/4] xen/sched: use new idle scheduler for free cpus

These three patches have been carved out from my core scheduling series as they are sufficiently independent to be applied even without the big series.

Without this little series there are messages like the following to be seen on the console when booting with smt=0:

(XEN) Adding cpu 1 to runqueue 0
(XEN) CPU 1 still not dead...
(XEN) CPU 1 still not dead...
(XEN) CPU 1 still not dead...
(XEN) CPU 1 still not dead...

By assigning cpus to Cpupool-0 only after all cpus are up and by not using the more complicated credit2 scheduler for cpus not in any cpupool this situation can simply no longer happen, as parking the not to be started threads is done before.

Changes in V4:
- fix a bug when unassigning a cpu not in a cpupool (patch 2)

Changes in V3:
- use ZERO_BLOCK_PTR (Patch 3)
- add patch 4

Changes in V2:
- commit messages updated
- renamed functions (Patch 2)

Juergen Gross (4):
xen/sched: populate cpupool0 only after all cpus are up xen/sched: remove cpu from pool0 before removing it xen/sched: add minimalistic idle scheduler for free cpus xen/sched: switch to debugtrace in cpupool handling

 xen/common/cpupool.c       | 234 +++++++++++++++++++++++++++------------------
 xen/common/sched_credit.c  |   9 --
 xen/common/sched_null.c    |   7 --
 xen/common/schedule.c      | 172 +++++++++++++++++----------------
 xen/include/xen/sched-if.h |   2 +
 5 files changed, 231 insertions(+), 193 deletions(-)
Signature · 7 lines
2.16.4


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