linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [RFC] State of ru_majflt
@ 2003-10-13 16:51 Roger Luethi
  2003-10-13 18:51 ` Rik van Riel
  2003-10-13 23:59 ` William Lee Irwin III
  0 siblings, 2 replies; 3+ messages in thread
From: Roger Luethi @ 2003-10-13 16:51 UTC (permalink / raw)
  To: linux-kernel, linux-mm

The ru_majflt field of struct rusage doesn't return major page faults --
pages retrieved from cache are counted as well. POSIX and Linux man pages
don't seem to cover that particular field, but the values returned are
neither what BSD (where Linux got its copy of the struct from) does nor
what the field name suggests.

A proper solution would probably have filemap_nopage tell its caller the
correct return code. Is this considered a bug or is it a documentation
issue? How much do we care?

Roger
--
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/ .
Don't email: <a href=mailto:"aart@kvack.org"> aart@kvack.org </a>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-10-13 23:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-13 16:51 [RFC] State of ru_majflt Roger Luethi
2003-10-13 18:51 ` Rik van Riel
2003-10-13 23:59 ` William Lee Irwin III

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