hey Linux kernel followers. is there some existing way to kill a single process in uninterruptible sleep (*presses power button for five seconds* you called that uninterruptible?) and release the lock it's stuck on, or do i have to write a kernel module myself?
-
Show this thread
-
Replying to @whitequark
I'm not super familiar with scheduler-related stuff, but afaik uninterruptible sleep is used for places without bailout code (like mutex_lock()), in which case the closest you could get to killing the process would be to somehow oops it, which wouldn't release locks
1 reply 0 retweets 2 likes
Replying to @tehjh @whitequark
afaik without lockdep the kernel doesn't even know which locks a given task is currently holding. with lockdep it knows, but I don't think there is any logic for releasing such locks.
8:57 PM - 27 Oct 2018
0 replies
0 retweets
2 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.