Find the answer to your Linux question:
Results 1 to 4 of 4
Hi Everybody, I wanted to enquire on what would be the optimal and good implementation of the user-kernel communication in the Linux operating system. I need to pass down some ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2006
    Posts
    1

    User-kernel communication


    Hi Everybody,
    I wanted to enquire on what would be the optimal and good implementation of the user-kernel communication in the Linux operating system.

    I need to pass down some data from my application to a driver in the kernel environment. The traditional mechanism is to use the ioctl interface but in our case, the driver that we are developing does not expose any interface which can be used by the open system call in the user space.

    As such we thought of other IPC mechanisms to pass the required data from the user to the kernel like sockets, pipes and the likes.

    Can anyone suggest which one would be a better implementation to go about among these IPC mechanisms? Is there any constraint in the amount of data that can be sent across to the driver when using any of these IPC mechanisms?

    Is there any means by which a particular user space memory page can be locked and the same accessed in the kernel environment in Linux?

    Please help provide me with the info, if you have any.

    Thanks,
    Monisha

  2. #2
    Just Joined! bgagan911's Avatar
    Join Date
    Feb 2006
    Location
    WWW
    Posts
    67
    Hi Monisha..you look from India right..?

    Well this is gagan...I don't know about your problem..coz it's faa..r to complicated for me right now..!!

    I'm doing course in ES.. but ...hey can't you execute this in ROOT mode..?

    SUDO mode..?

  3. #3
    Linux Newbie
    Join Date
    Jul 2006
    Posts
    106
    Hey

    I dont think there is any limit over the IPC between two processess. If you are talking about the user memory to be regulated, the space they use to store , the user quota should do the job.

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Jun 2006
    Posts
    15
    I thing u r confusing with use space and kernel space. Can i know about,For what driver u r developing? Please clear me that, can we implement the IPCs in Device Driver program?
    I cant get your query,exactly .

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •