Details
Details
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Skipped - Unit
Tests Skipped - Build Status
Buildable 24445
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 | 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 | 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. |