HomeFreeBSD

linprocfs: Add /proc/vm/max_map_count

Description

linprocfs: Add /proc/vm/max_map_count

On Linux this limits the number of maps per mm struct.
We don't limit mappings, return a suitable large value.

Reviewed by: emaste
Differential revision: https://reviews.freebsd.org/D35351
MFC after: 2 weeks

(cherry picked from commit 7e2a451119373b7d3f2b3fd062d4ccb099dde022)

Details

Provenance
dchaginAuthored on May 31 2022, 8:42 AM
Reviewer
emaste
Differential Revision
D35351: linprocfs: Add /proc/vm/max_map_count
Parents
rGd37548e01059: linux(4): Properly restore the thread signal mask after signal delivery on i386
Branches
Unknown
Tags
Unknown