Bug 281903 - pmap_active_cpus(8): man page needed
Summary: pmap_active_cpus(8): man page needed
Status: New
Alias: None
Product: Documentation
Classification: Unclassified
Component: Manual Pages (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks: 108980
  Show dependency treegraph
 
Reported: 2024-10-06 18:17 UTC by Ed Maste
Modified: 2024-10-06 19:20 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Maste freebsd_committer freebsd_triage 2024-10-06 18:17:13 UTC
For reference see:

commit 8882b7852acf2588d87ccb6d4c6bf7694511fc56
Author: Konstantin Belousov <kib@FreeBSD.org>
Date:   Fri Oct 8 01:25:54 2021 +0300

    add pmap_active_cpus()
    
    For amd64, i386, arm, and riscv, i.e. all architectures except arm64,
    the custom implementation is provided since we maintain the bitmask of
    active CPUs anyway.
    
    Arm64 uses somewhat naive iteration over CPUs and match current vmspace'
    pmap with the argument. It is not guaranteed that vmspace->pmap is the
    same as the active pmap, but the inaccuracy should be toleratable.
    
    Sponsored by:   The FreeBSD Foundation
    MFC after:      1 week
    Differential revision:  https://reviews.freebsd.org/D32360