• Matthew Pickering's avatar
    eventlog: Add MEM_RETURN event to give information about fragmentation · 33a4fd99
    Matthew Pickering authored and Marge Bot's avatar Marge Bot committed
    See #19357
    
    The event reports the
      * Current number of megablocks allocated
      * The number that the RTS thinks it needs
      * The number is managed to return to the OS
    
    When current > need then the difference is returned to the OS, the
    successful number of returned mblocks is reported by 'returned'.
    
    In a fragmented heap current > need but returned < current - need.
    33a4fd99