linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* Query on mlockall and reported RSS
@ 2002-09-13 14:46 Mark_H_Johnson
  0 siblings, 0 replies; only message in thread
From: Mark_H_Johnson @ 2002-09-13 14:46 UTC (permalink / raw)
  To: linux-mm

Just curious, but if I have an application, run as root, that uses
 mlocall (MCL_CURRENT | MCL_FUTURE)
with no error status returned, we get output like the following in top...

 ...  SIZE   RSS    SHARE  ...
 ...  160M   84M    34256  ...

for our application. It seems odd to us that RSS and SIZE are not equal.
This is being seen on a kernel built from 2.4.16.

 - How can we truly be sure that all of our application is locked
into memory?
 - Could someone explain why the RSS is not equal to the size in
this case?

Thanks.
  --Mark Johnson


--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-09-13 14:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-13 14:46 Query on mlockall and reported RSS Mark_H_Johnson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox