Re: [PATCH] cachefiles: drop the remaining histogram documentation

From: Randy Dunlap

Date: Sun Nov 29 2026 - 02:21:10 EST




On 11/28/26 5:41 PM, Nikolai Dokutovich wrote:
> CONFIG_CACHEFILES_HISTOGRAM and /proc/fs/cachefiles/histogram were
> removed together with the histogram code, but the document still
> describes both in a "Statistical Information" section and lists that
> section in its contents.
>
> Fixes: 6ae9bd8bb037 ("fscache, cachefiles: Remove the histogram stuff")
> Signed-off-by: Nikolai Dokutovich <ndokutovich@xxxxxxxxx>

LGTM. Thanks.

Acked-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>

> ---
> .../filesystems/caching/cachefiles.rst | 36 -------------------
> 1 file changed, 36 deletions(-)
>
> diff --git a/Documentation/filesystems/caching/cachefiles.rst b/Documentation/filesystems/caching/cachefiles.rst
> index adfb7d079027..8c3c84350a16 100644
> --- a/Documentation/filesystems/caching/cachefiles.rst
> +++ b/Documentation/filesystems/caching/cachefiles.rst
> @@ -24,8 +24,6 @@ Cache on Already Mounted Filesystem
>
> (*) A note on security.
>
> - (*) Statistical information.
> -
> (*) Debugging.
>
>
> @@ -423,40 +421,6 @@ for CacheFiles to run in a context of a specific security label, or to create
> files and directories with another security label.
>
>
> -Statistical Information
> -=======================
> -
> -If FS-Cache is compiled with the following option enabled::
> -
> - CONFIG_CACHEFILES_HISTOGRAM=y
> -
> -then it will gather certain statistics and display them through a proc file.
> -
> - /proc/fs/cachefiles/histogram
> -
> - ::
> -
> - cat /proc/fs/cachefiles/histogram
> - JIFS SECS LOOKUPS MKDIRS CREATES
> - ===== ===== ========= ========= =========
> -
> - This shows the breakdown of the number of times each amount of time
> - between 0 jiffies and HZ-1 jiffies a variety of tasks took to run. The
> - columns are as follows:
> -
> - ======= =======================================================
> - COLUMN TIME MEASUREMENT
> - ======= =======================================================
> - LOOKUPS Length of time to perform a lookup on the backing fs
> - MKDIRS Length of time to perform a mkdir on the backing fs
> - CREATES Length of time to perform a create on the backing fs
> - ======= =======================================================
> -
> - Each row shows the number of events that took a particular range of times.
> - Each step is 1 jiffy in size. The JIFS column indicates the particular
> - jiffy range covered, and the SECS field the equivalent number of seconds.
> -
> -
> Debugging
> =========
>

--
~Randy