RE: livepatch: change to a per-task consistency model

From
David Laight <hidden>
Date
2016-05-24 15:08:21
Also in
linux-s390, lkml
Reply to
Jiri Kosina, 2016-05-23
From: Jiri Kosina=20
Sent: 23 May 2016 19:45
quoted
Related, please can we have a flag for the sleep and/or process so that
an uninterruptible sleep doesn't trigger the 'hung task' detector
=20
TASK_KILLABLE
Not sure that does what I want.
It appears to allow some 'kill' actions to wake the process.
I'm sure I've looked at the 'hung task' code since 2007.
quoted
and also stops the process counting towards the 'load average'.
=20
TASK_NOLOAD
Ah, that was added in May 2015.
Not surprising I didn't know about it.

I'll leave the code doing:
  set_current_state(signal_pending(current) ? TASK_UNINTERRUPTIBLE ? TASK_I=
NTERRUPTIBLE);
for a while longer.

	David
Thread (118 messages) 118 messages, 12 authors, last reply 2016-06-23
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help