How to call user mode service from a kernel driver

Hi all,

My driver need to ask a user model service to do something sometimes. What
is the most efficient way to implement this? Thanks!

“Most efficient” measured in terms of what?

  • Number of instructions executed?

  • Number of lines of code you have to write?

  • Some other metric (elapsed time, effect on the system
    performance, etc.)

I’ve always liked the IOCTL call approach, but named pipes, TCP, shared
memory/mapped files, I/O completion ports, etc. are all viable solutions
to the problem. Unless you are transferring large blocks of data or
making frequent calls, the efficiency of the solution is unlikely to
really matter in the real world.

Regards,

Tony

Tony Mason

Consulting Partner

OSR Open Systems Resources, Inc.

http://www.osr.com


From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Yiping Han
Sent: Friday, May 05, 2006 11:47 AM
To: ntfsd redirect
Subject: [ntfsd] How to call user mode service from a kernel driver

Hi all,

My driver need to ask a user model service to do something sometimes.
What is the most efficient way to implement this? Thanks!


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: unknown lmsubst tag argument:
‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com