diff options
-rw-r--r-- | kernel/sched.c | 29 |
1 files changed, 16 insertions, 13 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index afc59f274e58..5470ab0258a8 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -704,11 +704,14 @@ static void update_load_sub(struct load_weight *lw, unsigned long dec) | |||
704 | * the relative distance between them is ~25%.) | 704 | * the relative distance between them is ~25%.) |
705 | */ | 705 | */ |
706 | static const int prio_to_weight[40] = { | 706 | static const int prio_to_weight[40] = { |
707 | /* -20 */ 88818, 71054, 56843, 45475, 36380, 29104, 23283, 18626, 14901, 11921, | 707 | /* -20 */ 88761, 71755, 56483, 46273, 36291, |
708 | /* -10 */ 9537, 7629, 6103, 4883, 3906, 3125, 2500, 2000, 1600, 1280, | 708 | /* -15 */ 29154, 23254, 18705, 14949, 11916, |
709 | /* 0 */ NICE_0_LOAD /* 1024 */, | 709 | /* -10 */ 9548, 7620, 6100, 4904, 3906, |
710 | /* 1 */ 819, 655, 524, 419, 336, 268, 215, 172, 137, | 710 | /* -5 */ 3121, 2501, 1991, 1586, 1277, |
711 | /* 10 */ 110, 87, 70, 56, 45, 36, 29, 23, 18, 15, | 711 | /* 0 */ 1024, 820, 655, 526, 423, |
712 | /* 5 */ 335, 272, 215, 172, 137, | ||
713 | /* 10 */ 110, 87, 70, 56, 45, | ||
714 | /* 15 */ 36, 29, 23, 18, 15, | ||
712 | }; | 715 | }; |
713 | 716 | ||
714 | /* | 717 | /* |
@@ -719,14 +722,14 @@ static const int prio_to_weight[40] = { | |||
719 | * into multiplications: | 722 | * into multiplications: |
720 | */ | 723 | */ |
721 | static const u32 prio_to_wmult[40] = { | 724 | static const u32 prio_to_wmult[40] = { |
722 | /* -20 */ 48356, 60446, 75558, 94446, 118058, | 725 | /* -20 */ 48388, 59856, 76040, 92818, 118348, |
723 | /* -15 */ 147573, 184467, 230589, 288233, 360285, | 726 | /* -15 */ 147320, 184698, 229616, 287308, 360437, |
724 | /* -10 */ 450347, 562979, 703746, 879575, 1099582, | 727 | /* -10 */ 449829, 563644, 704093, 875809, 1099582, |
725 | /* -5 */ 1374389, 1717986, 2147483, 2684354, 3355443, | 728 | /* -5 */ 1376151, 1717300, 2157191, 2708050, 3363326, |
726 | /* 0 */ 4194304, 5244160, 6557201, 8196502, 10250518, | 729 | /* 0 */ 4194304, 5237765, 6557202, 8165337, 10153587, |
727 | /* 5 */ 12782640, 16025997, 19976592, 24970740, 31350126, | 730 | /* 5 */ 12820798, 15790321, 19976592, 24970740, 31350126, |
728 | /* 10 */ 39045157, 49367440, 61356675, 76695844, 95443717, | 731 | /* 10 */ 39045157, 49367440, 61356676, 76695844, 95443717, |
729 | /* 15 */ 119304647, 148102320, 186737708, 238609294, 286331153, | 732 | /* 15 */ 119304647, 148102320, 186737708, 238609294, 286331153, |
730 | }; | 733 | }; |
731 | 734 | ||
732 | static void activate_task(struct rq *rq, struct task_struct *p, int wakeup); | 735 | static void activate_task(struct rq *rq, struct task_struct *p, int wakeup); |