Thread (6 messages) 6 messages, 2 authors, 2008-12-18

Re: [PATCH, RESEND2] getrusage: fill ru_maxrss value

flat view

From: KOSAKI Motohiro <hidden>
Date: 2008-12-17 10:49:01
Also in: lkml

(updated)

This patch makes ->ru_maxrss value in struct rusage filled accordingly to
rss hiwater mark. This struct is filled as a parameter to
getrusage syscall. ->ru_maxrss value is set to pages which might be correct
as "time" application converts it to KBs.
Why?
if kernel convert to KB, glibc don't need any change.



--
To unsubscribe from this list: send the line "unsubscribe linux-api" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help