summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5f1725f)
raw | patch | inline | side by side (parent: 5f1725f)
author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Fri, 3 Sep 2010 10:22:25 +0000 (12:22 +0200) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Fri, 3 Sep 2010 10:22:25 +0000 (12:22 +0200) |
src/lpar.c | patch | blob | history |
diff --git a/src/lpar.c b/src/lpar.c
index 2f40691db61331e46f46768cc09996b4ee323e00..113dff9330fb8951135e02f9a4d63548e6c59a6e 100644 (file)
--- a/src/lpar.c
+++ b/src/lpar.c
idle_diff = idle - idle_old;
consumed_ticks = user_diff + syst_diff + wait_diff + idle_diff;
+ /* "uncapped" partitions are allowed to consume more ticks than
+ * they are entitled to. */
if (entitled_ticks >= consumed_ticks)
unav_diff = entitled_ticks - consumed_ticks;
else