Find the answer to your Linux question:
Results 1 to 2 of 2
Hi All, I am using one kernel thread in my module( it is LKM). I have added some function pointers in kernel code those function pointers give control to our ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2008
    Location
    Hyderabad
    Posts
    20

    Help me about kernel thread


    Hi All,

    I am using one kernel thread in my module( it is LKM).
    I have added some function pointers in kernel code those function pointers give control to our module whenever module inserted into kernel.
    How can i protect code of our module thread code while running an application on machine
    I have used lock_kernel() and spin_locks() but those doesn't work for me.
    Could you please help me on this, thanks in advance..

    Thnaks
    --Venkatesh

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,508
    This is a complex subject and you are not providing NEARLY enough information to help you, which is probably the reason you have had no replies in 2 weeks. What does your module do, and what issues do you have with it interacting with applications?
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

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