app-emulation/xen: warn about credit2 scheduler instability
authorTomáš Mózes <hydrapolic@gmail.com>
Fri, 6 Mar 2020 06:40:30 +0000 (07:40 +0100)
committerYixun Lan <dlan@gentoo.org>
Fri, 6 Mar 2020 22:33:09 +0000 (22:33 +0000)
Bug: https://bugs.gentoo.org/710140
Closes: https://github.com/gentoo/gentoo/pull/14842
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com>
Signed-off-by: Yixun Lan <dlan@gentoo.org>
app-emulation/xen/xen-4.12.2.ebuild
app-emulation/xen/xen-4.13.0-r1.ebuild

index ec19a8729db3e5bb419f84d78ab3a1837a666f20..078c4ede67852d114c8a87aa204715f1b5ebc82d 100644 (file)
@@ -153,4 +153,13 @@ pkg_postinst() {
        elog "You can optionally block the installation of /boot/xen-syms by an entry"
        elog "in folder /etc/portage/env using the portage's feature INSTALL_MASK"
        elog "e.g. echo ${msg} > /etc/portage/env/xen.conf"
+
+       ewarn
+       ewarn "Xen 4.12+ changed the default scheduler to credit2 which can cause"
+       ewarn "domU lockups on multi-cpu systems. The legacy credit scheduler seems"
+       ewarn "to work fine."
+       ewarn
+       ewarn "Add sched=credit to xen command line options to use the legacy scheduler."
+       ewarn
+       ewarn "https://wiki.gentoo.org/wiki/Xen#Xen_domU_hanging_with_Xen_4.12.2B"
 }
index 2c03982f66085712209f2f5f7aef482b717fb976..7da3187cee25134bb64e27739661f7fdf7250bcd 100644 (file)
@@ -153,4 +153,13 @@ pkg_postinst() {
        elog "You can optionally block the installation of /boot/xen-syms by an entry"
        elog "in folder /etc/portage/env using the portage's feature INSTALL_MASK"
        elog "e.g. echo ${msg} > /etc/portage/env/xen.conf"
+
+       ewarn
+       ewarn "Xen 4.12+ changed the default scheduler to credit2 which can cause"
+       ewarn "domU lockups on multi-cpu systems. The legacy credit scheduler seems"
+       ewarn "to work fine."
+       ewarn
+       ewarn "Add sched=credit to xen command line options to use the legacy scheduler."
+       ewarn
+       ewarn "https://wiki.gentoo.org/wiki/Xen#Xen_domU_hanging_with_Xen_4.12.2B"
 }