There are a couple of approaches. One is to use ptrace the other
just signals and keep stopping/starting the process. Neither will give
accurate paging to death behaviour. To get that you would have to do some
simulated fault and pauses every new page access.
Alan
-
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/