From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934250AbdHYQNf (ORCPT ); Fri, 25 Aug 2017 12:13:35 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:42153 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934246AbdHYQNd (ORCPT ); Fri, 25 Aug 2017 12:13:33 -0400 Date: Fri, 25 Aug 2017 18:13:31 +0200 (CEST) From: Thomas Gleixner To: Steven Rostedt cc: LKML , Ingo Molnar , Peter Anvin , Peter Zijlstra , Andy Lutomirski , Borislav Petkov Subject: Re: [patch 12/41] x86/mce: Remove duplicated tracing interrupt code In-Reply-To: <20170825120910.56114755@gandalf.local.home> Message-ID: References: <20170825103103.287814238@linutronix.de> <20170825104413.919976691@linutronix.de> <20170825120910.56114755@gandalf.local.home> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 25 Aug 2017, Steven Rostedt wrote: > On Fri, 25 Aug 2017 12:31:15 +0200 > Thomas Gleixner wrote: > > trace_deferred_error_apic_entry(DEFERRED_ERROR_VECTOR); > > - __smp_deferred_error_interrupt(); > > + inc_irq_stat(irq_deferred_error_count); > > Here we do the inc_irq_stat() after the tracepoint (same as the > original). > > entering_irq(); > > + inc_irq_stat(irq_thermal_count); > > trace_thermal_apic_entry(THERMAL_APIC_VECTOR); > > Here we do the inc_irq_stat() after the tracepoint (swapped from the > original). Was that intentional? No. Not that it matters at all, but I can make it consistent everywhere.