I read in a blogpost that the page fault mechanism for HtoD involves five steps:
1 Allocate new pages on the GPU;
2 Unmap old pages on the CPU;
3 Copy data from the CPU to the GPU;
4 Map new pages on the GPU;
5 Free old CPU pages.
Can I assume that step 2 and 5 involve CPU processing on every page fault?
Or are they somehow managed by the DMA controller?
Unfortunately the article doesn’t elaborate on this.
Does anyone have information on this?
Thanks in advance!