in the case of mmaped accesses, the number of major faults is twice
that the real amount. ++current->maj_flt is done once by do_no_page() and
once by inode->readpage().
in case of access by read(), the number reported is correct, since only
inode->readpage() increments the count.
is this a bug or is it by design ?
ganesh
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sun Apr 30 2000 - 21:00:14 EST