Print this page
patch lower-case-segops
*** 429,439 ****
} else {
/*
* Mappings of /dev/null don't count towards the VSZ of a
* process. Mappings of /dev/null have no mapping type.
*/
! if ((SEGOP_GETTYPE(seg, (seg)->s_base) & (MAP_SHARED |
MAP_PRIVATE)) == 0) {
seg->s_as->a_resvsize -= seg->s_size;
}
}
--- 429,439 ----
} else {
/*
* Mappings of /dev/null don't count towards the VSZ of a
* process. Mappings of /dev/null have no mapping type.
*/
! if ((segop_gettype(seg, seg->s_base) & (MAP_SHARED |
MAP_PRIVATE)) == 0) {
seg->s_as->a_resvsize -= seg->s_size;
}
}