diff options
Diffstat (limited to 'system/easy-kernel/0250-projectc-5.15-r1.patch')
-rw-r--r-- | system/easy-kernel/0250-projectc-5.15-r1.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/easy-kernel/0250-projectc-5.15-r1.patch b/system/easy-kernel/0250-projectc-5.15-r1.patch index 3a3bf7420..c67c2c9fc 100644 --- a/system/easy-kernel/0250-projectc-5.15-r1.patch +++ b/system/easy-kernel/0250-projectc-5.15-r1.patch @@ -9157,7 +9157,7 @@ diff -urN linux-5.15.3/kernel/sched/cputime.c linux-prjc-v5.15-prjc-r1/kernel/sc /* Add guest time to cpustat. */ - if (task_nice(p) > 0) { + if (task_running_nice(p)) { - cpustat[CPUTIME_NICE] += cputime; + task_group_account_field(p, CPUTIME_NICE, cputime); cpustat[CPUTIME_GUEST_NICE] += cputime; } else { @@ -270,7 +270,7 @@ |