w00t for exception-throwing languages
Posted Jul 5, 2008 23:39 UTC (Sat) by
giraffedata (subscriber, #1954)
In reply to:
w00t for exception-throwing languages by walles
Parent article:
TASK_KILLABLE
Things are getting better though. So maybe 10 years from now the uninterruptible sleeps can
be removed from the kernel.
There will have to be advances on other fronts for us to go that far. The article covers one of the major reasons for uninterruptible sleep today: that your client can't deal with a half-finished operation. But the other reason programs do uninterruptible sleep is that they themselves lack the intelligence to finish a partially done operation -- i.e. there's nowhere to get off the highway before the destination.
I have found it takes some very hard work to make it possible to get out of something in the middle. You have to carefully decide whether to spend time and bug tolerance for that or use it for something else.
(
Log in to post comments)