Re: [Question] Reading /proc/stat has a time backward issue

From: Li Hua
Date: Sat Aug 13 2022 - 01:21:55 EST


Sorry for not seeing your reply in time

Your patch doesn't seem to fix the problem. The root cause of the problem is that
the "vtime->utime" and "delta" are temporarily added to the stack and show to the user.

I tried to submit a patch to avoid presenting time backwards to the user. as bellow:
https://lkml.org/lkml/2022/8/12/261

Hope you have better suggestions, thank you for your reply.