2003-07-07 04:09:58

by Peter Chubb

[permalink] [raw]
Subject: major and minor fault counts (2.5)


Hi Folks,
What are the major and minor fault counts in the struct task_struct
meant to count?

On most Unix-like systems, a major fault is one that incurs I/O; a
minor fault (reclaim) is one that does not. It appears that on Linux
2.5.74, some faults counted as `major' do not sleep (e.g., ones that
hit the swap readahead).

--
Dr Peter Chubb http://www.gelato.unsw.edu.au peterc AT gelato.unsw.edu.au
You are lost in a maze of BitKeeper repositories, all slightly different.