tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

re: RLIMIT_AS and fixed process size calculations patch



   >+   int64_t p_vm_vsize;             /* SEGSZ_T: total map size (pages) */
   >+   int64_t p_vm_msize;             /* SEGSZ_T: stack-adjusted map size 
(pages) */
   
   Looks great Matt! One question, why aren't those two uint64_t?


(a) they "should" be int32_t's (aka segsz_t) and (b) i made them 64 bit
because segzt_t needs to grow for future netbsd, and giving the space
now seemed worthwhile.  but the underlying type is signed...


.mrg.


Home | Main Index | Thread Index | Old Index