Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
Show HN: Kgotobed: Kernel module that forces you to go to sleep | Better HN
Show HN: Kgotobed: Kernel module that forces you to go to sleep
(opens in new tab)
(github.com)
4 points
nikital
7y ago
5 comments
Share
5 comments
default
newest
oldest
captn3m0
7y 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.
nikital
OP
7y 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...
O_H_E
7y ago
May I ask, how is it possible to prevent unloading the module?
nikital
OP
7y 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".
O_H_E
7y ago
Nice ;)
j
/
k
navigate · click thread line to collapse