Re: [PATCH v2] softlockup: decouple hung tasks check from softlockup detection

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Mandeep Singh Baines
Date: Friday, January 16, 2009 - 9:13 pm

Hi Frédéric,

Frédéric Weisbecker (fweisbec@gmail.com) wrote:

Would be nice to remove the limit. But I don't think get_task_struct()
can be used to prevent a task from being unlinked from the task list. It
only prevents the task_struct from being freed. So hung_task could end up
holding a reference to an unlinked task after it returns from schedule().

That doesn't mean what you are suggesting can't be implemented. Just means
that the case of the held task being unlinked needs to be handled.

Regards,
Mandeep
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH v2] softlockup: decouple hung tasks check from soft ..., Mandeep Singh Baines, (Sun Jan 11, 11:52 pm)
Re: [PATCH v2] softlockup: decouple hung tasks check from ..., =?ISO-8859-1?Q?Fr=E9 ..., (Fri Jan 16, 9:58 am)
Re: [PATCH v2] softlockup: decouple hung tasks check from ..., Mandeep Singh Baines, (Fri Jan 16, 9:13 pm)
Re: [PATCH v2] softlockup: decouple hung tasks check from ..., Frederic Weisbecker, (Sat Jan 17, 7:07 am)