Bug 2408836

Summary: man-pages missing Linux 6.5 syscall cachestat(2)
Product: [Fedora] Fedora Reporter: Marcus Müller <mueller_fedora>
Component: man-pagesAssignee: Carlos O'Donell <codonell>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: arjun, codonell, dj, fberat, fweimer, jchaloup, kasal, ljavorsk, nforro, pfrankli
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-10-31 13:42:04 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Marcus Müller 2025-10-31 12:27:40 UTC
cachestat(2) got introduced in Linux 6.5 [1]; other distros are shipping that man page.

bcc-cachestat is something different.

[1] https://www.phoronix.com/news/Linux-6.5-MM-cachestat
[2] https://manpages.opensuse.org/Tumbleweed/man-pages/cachestat.2.en.html

Reproducible: Always

Steps to Reproduce:
1. man cachestat
2. man 2 cachestat
3. man -k cachestat
Actual Results:
1. opens manual page for bcc-cachestat(8)
2. "No manual entry for cachestat in section 2"
3. "bcc-cachestat (8)    - Statistics for linux page cache hit/miss ratios. Uses Linux eBPF/bcc."

Expected Results:
1.-2. opens cachestat(2)
3. shows both bcc-cachestat(8) and cachestat(2)

Comment 1 Carlos O'Donell 2025-10-31 13:42:04 UTC
This was added in June 2025:

commit c4f63aada8b078ff95e2d21564b95ee437652449
Author: Matteo Croce <teknoraver>
Date:   Wed Jun 11 16:13:50 2025 +0200

    man/man2/cachestat.2: Add page
    
    The text was converted from the commit message in linux.git
    cf264e1329fb (2023-06-09; "cachestat: implement cachestat syscall").
    
    Link: <https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=cf264e1329fb0307e044f7675849f9f38b44c11a>
    Signed-off-by: Nhat Pham <nphamcs>
    Signed-off-by: Matteo Croce <teknoraver>
    Message-ID: <20250611141350.1829-1-technoboy85>
    Signed-off-by: Alejandro Colomar <alx>

We haven't updated man-pages, but are tracking this in bug 2341632.

I'm marking this as closed duplicate.

*** This bug has been marked as a duplicate of bug 2341632 ***