Messages in this thread | | | Date | Mon, 13 Oct 2003 18:51:04 +0200 | From | Roger Luethi <> | Subject | [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 from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |