When should I write a Linux kernel module?

后端 未结 10 882
礼貌的吻别
礼貌的吻别 2021-02-02 08:05

Some people want to move code from user space to kernel space in Linux for some reason. A lot of times the reason seems to be that the code should have particularly high priorit

10条回答
  •  孤街浪徒
    2021-02-02 08:33

    I'm not sure the question is the right way around. There should be a good reason to move things to kernel space. If there aren't any reasons, don't do it.

    For one thing, debugging is made harder, and the effect of bugs is far worse (crash/panic instead of simple coredump).

提交回复
热议问题