--- zzzz-none-000/linux-4.4.271/kernel/fork.c 2021-06-03 06:22:09.000000000 +0000 +++ dakota-7530ac-750/linux-4.4.271/kernel/fork.c 2023-01-11 09:25:44.000000000 +0000 @@ -76,6 +76,7 @@ #include #include #include +#include #include #include @@ -391,6 +392,8 @@ account_kernel_stack(ti, 1); + kcov_task_init(tsk); + return tsk; free_ti: @@ -650,6 +653,10 @@ for (i = 0; i < NR_MM_COUNTERS; i++) { long x = atomic_long_read(&mm->rss_stat.count[i]); + /* Do not complain, these counters will just grow indefinintly */ + if (i == MM_SWAPOUTS || i == MM_SWAPINS) + continue; + if (unlikely(x)) printk(KERN_ALERT "BUG: Bad rss-counter state " "mm:%p idx:%d val:%ld\n", mm, i, x);