[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[RFC] State of ru_majflt



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>