Click here to Skip to main content
15,894,825 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: page fault Pin
George_George9-Jan-08 21:32
George_George9-Jan-08 21:32 
GeneralRe: page fault Pin
Hamid_RT9-Jan-08 21:53
Hamid_RT9-Jan-08 21:53 
GeneralRe: page fault Pin
George_George9-Jan-08 22:58
George_George9-Jan-08 22:58 
GeneralRe: page fault Pin
JudyL_MD10-Jan-08 2:40
JudyL_MD10-Jan-08 2:40 
GeneralRe: page fault Pin
George_George10-Jan-08 2:47
George_George10-Jan-08 2:47 
GeneralRe: page fault Pin
JudyL_MD10-Jan-08 3:03
JudyL_MD10-Jan-08 3:03 
GeneralRe: page fault Pin
George_George10-Jan-08 3:10
George_George10-Jan-08 3:10 
GeneralRe: page fault Pin
JudyL_MD10-Jan-08 3:54
JudyL_MD10-Jan-08 3:54 
My copy of the aforementioned book lists the following as reasons for a page fault

1) accessing a page that isn't resident in memory but is on disk in a page file or a mapped file
2) accessing a page that is on the standby or modified list
3) accessing a page that isn't committed (for example, reserved address space or address space that isn't allocated)
4) accessing a page from user mode that can be accessed only in kernel mmode
5) writing to a page that is read-only
6) accessing a demand-zero-page
7) writing to a guard page
8) writing to a copy-on-write page
9) referencing a page in system space that is valid but not in the process space directory (for example, if paged pool expanded after the proces page directory was created)
10) on a multiprocessor system, writing to a page that is valid but hasn't yet been written to
11) executing code in a page thatis marked as no execute

1 is a hard page fault
2, 6, 8, 9, 10 are soft page faults
3, 4, 5, 7, 11 are access violation page faults

I'd trust that these guys have the complete list. The break-down into types of faults is my own.

Judy
GeneralRe: page fault Pin
George_George10-Jan-08 18:04
George_George10-Jan-08 18:04 
GeneralRe: page fault Pin
Hamid_RT10-Jan-08 5:39
Hamid_RT10-Jan-08 5:39 
GeneralRe: page fault Pin
George_George10-Jan-08 18:10
George_George10-Jan-08 18:10 
GeneralRe: page fault Pin
Hamid_RT10-Jan-08 19:59
Hamid_RT10-Jan-08 19:59 
GeneralRe: page fault Pin
George_George10-Jan-08 20:02
George_George10-Jan-08 20:02 
GeneralRe: page fault Pin
Hamid_RT10-Jan-08 20:49
Hamid_RT10-Jan-08 20:49 
GeneralRe: page fault Pin
George_George10-Jan-08 20:50
George_George10-Jan-08 20:50 
GeneralRe: page fault Pin
Hamid_RT10-Jan-08 21:10
Hamid_RT10-Jan-08 21:10 
GeneralRe: page fault Pin
David Crow10-Jan-08 2:43
David Crow10-Jan-08 2:43 
GeneralRe: page fault Pin
George_George10-Jan-08 2:53
George_George10-Jan-08 2:53 
Generalproblem with named pipes Pin
vasu_ever9-Jan-08 18:56
professionalvasu_ever9-Jan-08 18:56 
GeneralRe: problem with named pipes Pin
Member 75496010-Jan-08 4:05
Member 75496010-Jan-08 4:05 
GeneralDialog creation in win32 dll failed [modified] Pin
narayanagvs9-Jan-08 18:54
narayanagvs9-Jan-08 18:54 
GeneralRe: Dialog creation in win32 dll failed Pin
Hamid_RT9-Jan-08 19:03
Hamid_RT9-Jan-08 19:03 
GeneralRe: Dialog creation in win32 dll failed Pin
narayanagvs9-Jan-08 20:23
narayanagvs9-Jan-08 20:23 
QuestionCStringArray variable to CString variable Pin
ciiiek9-Jan-08 16:56
ciiiek9-Jan-08 16:56 
GeneralRe: CStringArray variable to CString variable Pin
Nishad S9-Jan-08 18:48
Nishad S9-Jan-08 18:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.