lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 4 Dec 2007 01:05:13 +0100
From:	Ingo Molnar <mingo@...e.hu>
To:	"Rafael J. Wysocki" <rjw@...k.pl>
Cc:	Andrew Morton <akpm@...ux-foundation.org>, andi@...stfloor.org,
	penberg@...helsinki.fi, lkml@...ralstorm.puszkin.org,
	arjan@...radead.org, linux-kernel@...r.kernel.org,
	tglx@...utronix.de
Subject: Re: [feature] automatically detect hung TASK_UNINTERRUPTIBLE tasks


* Rafael J. Wysocki <rjw@...k.pl> wrote:

> > > Er, it won't play well if that happen when tasks are frozen for 
> > > suspend.
> > 
> > right now any suspend attempt times out after 20 seconds:
> > 
> >   $ grep TIMEOUT kernel/power/process.c
> >   #define TIMEOUT (20 * HZ)
> >           end_time = jiffies + TIMEOUT;
> 
> This is the timeout for freezing tasks, but if the freezing succeeds, 
> they can stay in TASK_UNINTERRUPTIBLE for quite some more time, 
> especially during a hibernation (the tasks stay frozen until we power 
> off the system after saving the image).

ah, ok. So this was a live bug - thanks for the clarification.

	Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ