What exactly is a memory page fault?
- by dontWatchMyProfile
From the docs:
Note: Core Data avoids the term
unfaulting because it is confusing.
There's no “unfaulting” a virtual
memory page fault. Page faults are
triggered, caused, fired, or
encountered. Of course, you can
release memory back to the kernel in a
variety of ways (using the functions
vm_deallocate, munmap, or sbrk). Core
Data describes this as “turning an
object into a fault”.
Is a Fault in Core Data essentially a memory page fault? I have only a slight idea about what a memory page is. I believe it's a kind of "piece of code in memory" which is needed to execute procedures and stuff like that, and as the app is runing, pieces of code are sucked into memory as "pages" and thrown away as they're not needed anymore. Probably 99% wrong ;)
Anyone?