79277243

Date: 2024-12-13 04:44:26
Score: 1
Natty:
Report link

I'm not sure what the context of your question is (i.e. if the answer is "Yes", what that means to you). But I agree with the essence of the first answer and would add that if you are supporting multiple drivers and deploying them to work with each other, it can sometimes be advantageous to leverage that the kernel is basically all one process, each driver being roughly analogous to a DLL loaded within that one process. In other words, these "modules" can directly reference memory allocated in the others, which can be a powerful way to communicate with and execute code requiring objects whose memory was allocated by another driver without resorting to IOCTL communication and the data serialization often required by that.
Of course, you need to be careful to make sure that you properly invalidate the pointer to that memory if the other driver unloads or otherwise de-allocates it. Of course, "shared" memory must have proper concurrency control guarding it, etc., etc.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: knight_rupert