Closed raja-grewal closed 2 months ago
Where is the number 65536
coming from? Could you document this in the PR please?
Sure, the 64KB size comes from the current recommendation from the KSPP:
# Disallow allocating the first 64k of memory.
CONFIG_DEFAULT_MMAP_MIN_ADDR=65536
This is also highlighted in the commit.
This pull request sets
sysctl vm.mmap_min_addr=65536
as per the KSPP recommendations .Changes
Set
sysctl vm.mmap_min_addr=65536
.Mandatory Checklist
Terms of Service, Privacy Policy, Cookie Policy, E-Sign Consent, DMCA, Imprint
Optional Checklist
The following items are optional but might be requested in certain cases.