Driver Problems? Questions? Issues?
Put OSR's experience to work for you! Contact us for assistance with:
  • Creating the right design for your requirements
  • Reviewing your existing driver code
  • Analyzing driver reliability/performance issues
  • Custom training mixed with consulting and focused directly on your specific areas of interest/concern.
Check us out. OSR, the Windows driver experts.

OSR Seminars

Go Back   OSR Online Lists > ntfsd
Welcome, Guest
You must login to post to this list
  Message 1 of 2  
13 Nov 17 09:41
Join Date: 10 May 2014
Posts To This List: 35

Can MmFlushImageSection be safely called by a non-isolation filter? I know you can't mess with Cc related things from a non-isolation filter but curious about Mm.
  Message 2 of 2  
13 Nov 17 11:14
Slava Imameev
Join Date: 13 Sep 2013
Posts To This List: 264

It should be safe as access to SECTION_OBJECT_POINTERS.ImageSectionObject is synchronized inside MmFlushImageSection. There can't be multiple threads trying to delete the same ImageSectionObject ( i.e. a CONTROL_AREA ), only one thread enters a protected region others wait for deletion completion. I don't think there is need to acquire any FSD resources before calling MmFlushImageSection as it calls the same functions the Memory Manager uses to delete unused image segments and the Memory Manager does this without calling FSD for synchronisation.
Posting Rules  
You may not post new threads
You may not post replies
You may not post attachments
You must login to OSR Online AND be a member of the ntfsd list to be able to post.

All times are GMT -5. The time now is 07:00.

Copyright ©2015, OSR Open Systems Resources, Inc.
Based on vBulletin Copyright ©2000 - 2005, Jelsoft Enterprises Ltd.
Modified under license