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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Sat, 27 Dec 2008 11:53:34 +0100
From:	Ingo Molnar <mingo@...e.hu>
To:	Frederic Weisbecker <fweisbec@...il.com>
Cc:	Thomas Gleixner <tglx@...utronix.de>,
	Linux Kernel <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] hrtimer: increase clock min delta threshold while
	interrupt hanging


* Frederic Weisbecker <fweisbec@...il.com> wrote:

> Impact: avoid hanging on slow systems
> 
> While using the function graph tracer on a virtualized system, the 
> hrtimer_interrupt can hang the system on an infinite loop. This can be 
> caused on several situation where something intrusive is slowing the 
> system (ie: tracing) and the next clock events to program are always 
> before the current time. This patch implements a reasonable compromise. 
> If such a situation is detected, we share the CPUs time in 1/4 to 
> process the hrtimer interrupts. This is enough to let the system running 
> without serious starvation.
> 
> It has been successfully tested under VirtualBox with 1000 HZ and 100 HZ 
> with function graph tracer launched. On both cases, the clock events 
> were increased until about 25 ms periodic ticks, which means 40 HZ.
> 
> Signed-off-by: Frederic Weisbecker <fweisbec@...il.com>
> Cc: Thomas Gleixner <tglx@...utronix.de>
> ---
>  kernel/hrtimer.c |   30 +++++++++++++++++++++++++++++-
>  1 files changed, 29 insertions(+), 1 deletions(-)

applied to tip/timers/hrtimers, thanks Frederic!

Thomas, any objections/observations?

	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