Hi Experts,
I would like to write an application, which will better choice !!
1. Writing a simple application in the User space and invoked during startup and run the system forever. (It seems to be easy but not meeting the time critical event)
(or)
2. Configure the kernel and disable the unwanted hardware modules and put the application in to the kernel thread. So it will be preemptive and tightly packed with less latency.
Hi lyf
in general performance is similar in both cases, however advantage
of user space application is that OS do not allow it to do bad things like
crashing the machine. You can refer below links for details since this is
generic linux question
Linux Threads Home Page: What are threads (user/kernel)?
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------