Skip to contentSkip to conversation

page fault.

DISCUSSION Rajagopal Ananthanarayanan 1 participant 1 message Oct 26, 2000 1 message not in the archive Memory management

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 5 lines · M.Jagadish Kumar

hello,
Is there any way in which i can know when the pagefault occured, i mean at what instruction of my program execution.
Does OS provide any support. This would help me to improve my program.

Unless the test program is the only one on the system, there are other programs which will affect the pagefault of the test program, since the pages of those other programs affect the resident pages of the test program.

AFAICT, there is no direct means of saying which instructions caused page faults ... things like /sbin/time can report total page faults only.

Why are you specifically interested in page faults?

--------------------------------------------------------------------------
Rajagopal Ananthanarayanan ("ananth")
Member Technical Staff, SGI.
--------------------------------------------------------------------------
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/