All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC] State of ru_majflt
@ 2003-10-13 16:51 ` Roger Luethi
  0 siblings, 0 replies; 6+ 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

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

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

Thread overview: 6+ 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 16:51 ` Roger Luethi
2003-10-13 18:51 ` Rik van Riel
2003-10-13 18:51   ` Rik van Riel
2003-10-13 23:59 ` William Lee Irwin III
2003-10-13 23:59   ` William Lee Irwin III

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.