[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20130530093717.GM12193@twins.programming.kicks-ass.net>
Date: Thu, 30 May 2013 11:37:17 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: Dave Hansen <dave@...1.net>
Cc: mingo@...hat.com, paulus@...ba.org, acme@...stprotocols.net,
tglx@...utronix.de, x86@...nel.org, linux-kernel@...r.kernel.org
Subject: Re: [v3][PATCH 2/4] x86: warn when NMI handlers take large amounts
of time
On Wed, May 29, 2013 at 03:27:59PM -0700, Dave Hansen wrote:
> +static u64 nmi_longest_ns = 1000 * 1000 * 1000;
1s? Isn't that a tad too long?
FWIW there's NSEC_PER_{U,M,}SEC for such cases, I find those macros
increase readability.
--
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