Y
Hacker News
new
|
ask
|
show
|
jobs
Show HN: Kgotobed: Kernel module that forces you to go to sleep
(
github.com
)
4 points
by
nikital
2995 days ago
2 comments
captn3m0
2995 days ago
Are you using this daily? Just want to know if there are any gotchas I might need to check before I start using it.
link
nikital
2995 days ago
I used the kernel module for a few days and didn't notice any problems on a laptop running Fedora.
The kernel module is less that 100 lines long, hopefully it's simple enough to not cause trouble...
link
O_H_E
2994 days ago
May I ask, how is it possible to prevent unloading the module?
link
nikital
2994 days ago
The module takes an extra reference count to itself upon initialization and never decrements it, so rmmod will fail because the module will be "in use".
link
O_H_E
2993 days ago
Nice ;)
link