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] [day] [month] [year] [list]
Message-ID: <20090223063406.GS26292@one.firstfloor.org>
Date:	Mon, 23 Feb 2009 07:34:07 +0100
From:	Andi Kleen <andi@...stfloor.org>
To:	David Miller <davem@...emloft.net>
Cc:	andi@...stfloor.org, linux-kernel@...r.kernel.org
Subject: Re: x86's nmi_hz wrt. oprofile's nmi_timer_int.c

> Look at the fallback logic, the pure NMI profiler can fail for
> a number of reasons, not just because the watchdog is in
> I/O APIC mode.

I assume you mean nmi_init? It doesn't check for the watchdog at all,
just if it knows the CPU and if it can profile
All the reasons it fails on (unknown CPU, no APIC) will imply that the lapic 
based watchdog won't run either, because it relies on the same
perfctr hardware. The only case where it could fall into 
this path is in IO-APIC nmi watchdog mode (and unknown CPU) and then again 
the IO-APIC watchdog doesn't do the multiple frequencies thing, it always
runs with HZ.

Admittedly the logic is quite obscure.

-Andi
-- 
ak@...ux.intel.com -- Speaking for myself only.
--
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