[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20260120072018.3139470-1-ning.le@h3c.com>
Date: Tue, 20 Jan 2026 15:20:18 +0800
From: ningle <ning.le@....com>
To: <corbet@....net>
CC: <linux-doc@...r.kernel.org>, <linux-fsdevel@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, <ning.le@....com>,
<zhang.chunA@....com>
Subject: Re: [PATCH] proc/stat: document uptime-based CPU utilization calculation
Hi,
Gentle ping on this documentation patch.
The main motivation is to describe how userspace can compute more stable
CPU utilization on systems that already enable NOHZ and virtual CPU
accounting (CONFIG_VIRT_CPU_ACCOUNTING_*), where idle time in /proc/stat
is already accurate.
In this context, improving observability is often easier by providing a
better time reference for these existing counters (e.g. a timestamp
field in /proc/stat), rather than enabling additional options like
CONFIG_CONTEXT_TRACKING_USER_FORCE, which may be too heavy for many
production environments.
If this direction is acceptable, I can adjust the text or placement as
you prefer.
Thanks,
ning le
Powered by blists - more mailing lists