• Yossi Gottlieb's avatar
    Fix slowdown due to child reporting CoW. (#8645) · c3df27d1
    Yossi Gottlieb authored
    Reading CoW from /proc/<pid>/smaps can be slow with large processes on
    some platforms.
    
    This measures the time it takes to read CoW info and limits the duty
    cycle of future updates to roughly 1/100.
    
    As current_cow_size no longer represnets a current, fixed interval value
    there is also a new current_cow_size_age field that provides information
    about the age of the size value, in seconds.
    c3df27d1
childinfo.c 6.63 KB