Details
Details
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Use symbolic name for 1G superpage frame mask.
Fix upper boundary check for large map.
sys/amd64/amd64/pmap.c | ||
---|---|---|
8931 ↗ | (On Diff #57847) | The expression now appears in three places, maybe rename LARGEMAP_MAX_ADDRESS to LARGEMAP_STATIC_MAX_ADDRESS or so, and add #define LARGEMAP_MAX_ADDRESS() (LARGEMAP_MIN_ADDRESS + NBPML4 * (u_long)lm_ents |
sys/amd64/amd64/pmap.c | ||
---|---|---|
424–425 ↗ | (On Diff #57866) | When I see LARGEMAP_RT_MAX_ADDRESS used, I'm going to think that it is a constant. Since it is not, I would suggest using a function-like name, e.g., pmap_large_map_<foo>(). |
sys/amd64/include/pmap.h | ||
122 ↗ | (On Diff #57866) | I think that an '_' between the PS and PDP would help. |