kernel synchronization mechanisms in userspace ??

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All,

I am trying to move a kernel module from kernel space
to user space and run it as a user space process with 
the required changes. I am just wondering if I need 
to replace the kernel synchronization primitives used 
in the kernel module with the user space 
synchronization mechanisms like pthread_mutex etc. If 
I just move the code as it is to user space and run 
it what would be the behavior of the kernel 
synchronization mechanisms like spinlock, semaphore 
etc? 

Could somebody please enlighten me?

Thanks in advance,
Arvind.


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux