Details
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
sys/vm/vm_map.h | ||
---|---|---|
379 | Remove the _DOWN suffix? |
sys/vm/vm_map.h | ||
---|---|---|
379 | Could you please propose the complete name for the flag? |
sys/vm/vm_map.h | ||
---|---|---|
379 | MAP_STACK seems natural but I suppose that would collide with mman.h. MAP_STACK_REGION? |
sys/vm/vm_map.h | ||
---|---|---|
379 | Hmm, prior to rGb21a0008bac990d201c41aabefccd3eddaeaaae3 we didn't have either of these flags at all. Can we just remove it entirely? We already require it unconditionally for vm_map_growstack? |
sys/vm/vm_map.h | ||
---|---|---|
379 | No, not unconditionally. We detect the growable stack in vm_map_growstack() by presence of the gap-less pair of vm_map_entries, which should be guard on left, and MAP_STACK_GROWS_DOWN on right. Otherwise vm_map_growstack() bails out and does not extend. This description makes me think that the name might be fine as is. I only was able to construct MAP_MAPPED_STACK_AREA name, if anybody likes it. |
sys/vm/vm_map.h | ||
---|---|---|
379 | Might be MAP_ENTRY_STACK_MAPPED_AREA, for symmetry with MAP_ENTRY_STACK_GAP ? |