|
From: Phillip S. <ps...@cf...> - 2002-05-08 19:32:55
|
It should not be possible to delete a section while a page is being faulted in from it, because when the section is mapped, the section object should be referenced, thus preventing it from being freed. The fault doesn't need to reference the section, because it is referenced as soon as it is mapped. At 04:16 PM 5/8/2002 +0100, you wrote: >Ok, thanks for the explanation. I don't think this fixes all the problems >of this type: for example MmNotPresentFaultSectionView doesn't even >reference the section so it could be freed by the time it returns after >waiting for the page operation. The fix I was considering was to check for >pending page operations on a unmap/process exit and either wait for them >to complete or abandon freeing section pages that are about to be used in >another process. |