[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Minios-devel] [UNIKRAFT PATCH 3/8] lib/ukschedcoop: Enable library if uksched is enabled


  • To: minios-devel@xxxxxxxxxxxxx
  • From: Costin Lupu <costin.lupu@xxxxxxxxx>
  • Date: Tue, 23 Apr 2019 13:41:39 +0300
  • Cc: felipe.huici@xxxxxxxxx, Florian.Schmidt@xxxxxxxxx, simon.kuenzer@xxxxxxxxx, yuri.volchkov@xxxxxxxxx, sharan.santhanam@xxxxxxxxx
  • Delivery-date: Tue, 23 Apr 2019 10:42:03 +0000
  • Ironport-phdr: 9a23:qmCoOBYRP2fuRaTm9XQ04Dv/LSx+4OfEezUN459isYplN5qZps26Yx7h7PlgxGXEQZ/co6odzbaP6ua8CSdauN7B6ClELMUUEUddyI0/pE8JOIa9E0r1LfrnPWQRPf9pcxtbxUy9KlVfA83kZlff8TWY5D8WHQjjZ0IufrymUoHdgN6q2O+s5pbdfxtHhCanYbN1MR66sRjdutMZjId/N6o90BTEr3hHd+hI2G9jOFafkwrh6suq85Nv7jhct+g9+8JcVKnxYrg1Q6FfADk6KW4++dfltQPETQuB53scVnsZnx9VCAXb7x/0Q4n8vDLiuuVyxCeVM8v2TaspWTu59KdkVAXoiCYcODEn9mzcl9F9g7haoBKloBx/3pLUbYSIP/dwYq/RYdUXTndHU81MVSJOH5m8YpMPAeQfIOhWoYrzqVwMohuwHgSgGP/jxyVUinLswaE2z+IsGhzG0gw6GNIOtWzZocvyNKcJTeC1za/IxijFYfNLwTf99ZXDfxc9rvGLRrJwbcvRyU81GwPBk1WQsZHlMiiJ2eQWqWSb9/dgWvm1h249rAF8uz6izdovhInRno8Z11/J+ThjzIs2JdC0UlB3bcCmHZdKuSyWL5Z6T8w/T21yuys3yqcKtYC1cSUE0pgr2hHSZ+KBfoOV+BzsTvyRLi19hH99fbK/gAu9/la4x+3nU8m0zE5Kri1YktnQrnwN1wLc6syASvZl4Eeh3CyA1wHX6u1ePU80jrDXK4Y8wrErjJYTq0PDEjf3mEXwkqCWal0p9vWn5uj6eLnrpZ+RO5Vqhg3gMKkigMKyDfw9MgcUXmib/eq81Kfk/U38WLhFkvo2krLFsJDbI8QXvKq5AxJN0oY+8BuwEyym3M4AnXkaN11JYgiHj4/xN1HUPP/4Feu/g0irkDpzwvDGP7vhApTKLnjYibvuYKhy61BCxwo31t1f45NUCqodIPLoQEPwu8LXDhkjPwyz2ebnB8131pkCVmKXHq+ZLKTSvEeI6OIrJOmMfo4Vtyz7K/Q/+vDhkX85mVocfaa0wZsac3a4Eep6LEWde3Xjmc0NHnkXvgAmVuzllEWCUSJPZ3a1R6886C80CIanDYfbWI+hmryB3Dq6HpJKZ2BLEVaMHmn0eIWAQfgDczieLdF8kjYcT7iuV5ch1Q2ytA/907dnNerU9TcCtZ350th5/fbTmgs09TxoD8SSyWeNQHtxnm4TQT85wrxwoUhnxViYy6R3neFYH8RJ5/xVSgc6KYLcz+tiBtDpWwLBe9CJSFC8TtWlHDE+UNQxwt4QbEZnANiiiA7M0DauA7APjLOHHoI78r/E1XjrO8l902rG1LUmj1Q+QspPKHemhq9l+wjNAI7Jl1mWl6apdaQbwi7A72GDwnSSs0FcSgF/Sr/JUm4CZhiekdOs40LETri1TLgqLAZF4cqDMbdRLM3kixNBXviwFs7ZZjeanHysBBDA4q6UccK+cGIGwCTbTkwZix079m3ALRU0QD2m9TGNRAdyHE7iNhu/udJ1r2m2Gxc5
  • Ironport-sdr: 0Z+0Qec28Wym5tHTbplv4AKJOfZOgY+LrvJPFcGH1OYZa3Ly+HonwOKS5phfiqPZKsSx1XEvTP mnktdzTbb+Tw==
  • List-id: Mini-os development list <minios-devel.lists.xenproject.org>

Until now, enabling uksched did not enable ukschedcoop, which is the
only scheduler implementation. This resulted in a critical error from
Unikraft because no scheduler was registered. The current changes enable
the cooperative scheduler as the default implementation when uksched is
enabled.

Signed-off-by: Costin Lupu <costin.lupu@xxxxxxxxx>
---
 lib/ukschedcoop/Config.uk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/ukschedcoop/Config.uk b/lib/ukschedcoop/Config.uk
index 8a507251..6a0c1f5a 100644
--- a/lib/ukschedcoop/Config.uk
+++ b/lib/ukschedcoop/Config.uk
@@ -1,4 +1,4 @@
 config LIBUKSCHEDCOOP
        bool "ukschedcoop: Cooperative Round-Robin scheduler"
-       default n
-       select LIBUKSCHED
+       default y
+       depends on LIBUKSCHED
-- 
2.11.0


_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.