Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1418174

Re: [PATCH 1/2] Switch NMI watchdog to ref cycles on x86

From Peter Zijlstra <peterz@infradead.org>
Newsgroups linux.kernel
Subject Re: [PATCH 1/2] Switch NMI watchdog to ref cycles on x86
Date 2016-06-09 10:50 +0200
Message-ID <rI3P3-3Y6-7@gated-at.bofh.it> (permalink)
References <rHTmG-5yr-23@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Jun 08, 2016 at 02:36:46PM -0700, Andi Kleen wrote:

> This patch switches the NMI watchdog to use reference cycles

Are you sure; it seems to only add an #include

> ---
>  arch/x86/kernel/apic/hw_nmi.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/x86/kernel/apic/hw_nmi.c b/arch/x86/kernel/apic/hw_nmi.c
> index c546aac36ee7..016f4263fad4 100644
> --- a/arch/x86/kernel/apic/hw_nmi.c
> +++ b/arch/x86/kernel/apic/hw_nmi.c
> @@ -18,6 +18,7 @@
>  #include <linux/nmi.h>
>  #include <linux/module.h>
>  #include <linux/delay.h>
> +#include <linux/perf_event.h>
>  
>  #ifdef CONFIG_HARDLOCKUP_DETECTOR
>  int hw_nmi_get_event(void)
> -- 
> 2.5.5
> 

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 1/2] Switch NMI watchdog to ref cycles on x86 Andi Kleen <andi@firstfloor.org> - 2016-06-08 23:40 +0200
  [PATCH 2/2] perf stat: Remove nmi watchdog check code again Andi Kleen <andi@firstfloor.org> - 2016-06-08 23:40 +0200
  Re: [PATCH 1/2] Switch NMI watchdog to ref cycles on x86 Peter Zijlstra <peterz@infradead.org> - 2016-06-09 10:50 +0200
    Re: [PATCH 1/2] Switch NMI watchdog to ref cycles on x86 Andi Kleen <ak@linux.intel.com> - 2016-06-09 15:20 +0200

csiph-web