Project

General

Profile

Actions

Feature #1119

open

getrusage() could fill ru_maxrss

Added by Rich Lowe over 11 years ago. Updated over 11 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
kernel
Start date:
2011-06-16
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:

Description

Someone mentioned in #opensolaris that we don't fill out ru_maxrss. looking at the code, it seems like this could be done in much the same way as prgetpsinfo() does it without too much trouble:

drop the p_lock, take the a_lock of p_as, and use rm_asrss().

Actions

Also available in: Atom PDF