Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp821569ybx; Thu, 7 Nov 2019 03:13:26 -0800 (PST) X-Google-Smtp-Source: APXvYqzw12D0w3yf8L8wa89//cYXyj2lsp2Fjad133GNvxl7OvOeFVPOiAd69U/zIQ77kGEcIv3A X-Received: by 2002:a50:f284:: with SMTP id f4mr2834912edm.126.1573125206103; Thu, 07 Nov 2019 03:13:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573125206; cv=none; d=google.com; s=arc-20160816; b=TMNIL0fmZasHRG7zAwNqdBOiYdpyqPfxPihvAxuFW6FjFiDDuSthLKYyWBmVOeh3Kh I22kUVVybRReNJ/bUcsNtBDHXSz9o5rf+/jj0st88Ej0hjssViUW0gdpflCPWcqS/d/t Opdv9wEIIT/WNiIpYfsYlo7diRMVK7ViWzuAP481eFGSe+rlfI3IKHeLOB+5Cyrgw4f5 aeRfhG+DadZFMCEjkVSh/d4BRh5crMQIIXKp2iY6FBgOFVZ0VXbf+th2nkWULCkOxYNV 2yMclmAIQUoS8q5VhDdA0iBe5TZJYXFb9AUK6GVnaDYE+rolCCZlvZgFLIacJJblAvbk VzWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:to:from; bh=9qr+eOyZwSfiSwROrZ0CdG9Mj0u8myTIxIEOdzoC9MQ=; b=jr5+A+yozeVsnlHkzbkwap0uFA3eO7wDzU16fNP9PL6jIXNUerVCsG2AUSxyDPuhxA 0WDnrnoMLvHUAGKk7pxaDRoyWj46JFsfnP3iiVpJxBiUVH7JzPdGtINWfl99gQSCtZgo CiysOmHWnjO5k1c2FT0IEGwk5e0FkdS2fsSv0B8oD8/n0sQ2GHnNUpOTvD97a9knZjX9 Vreu+1/02l58qIIArUYt/wOO/xKAeSIplUivld8SjJOemAjIXu/pPxIkNh9HdiAHdY7n fO8fQ7OX2DINf8q4WVYVe+N+uNxNkUM0lfteNjVvlpoAX/QXsFsxlcorc7AUylobKWkW 12qA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id qw26si1186406ejb.103.2019.11.07.03.13.03; Thu, 07 Nov 2019 03:13:26 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388093AbfKGLKK (ORCPT + 99 others); Thu, 7 Nov 2019 06:10:10 -0500 Received: from mx21.baidu.com ([220.181.3.85]:56558 "EHLO baidu.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727707AbfKGLKJ (ORCPT ); Thu, 7 Nov 2019 06:10:09 -0500 Received: from BC-Mail-Ex31.internal.baidu.com (unknown [172.31.51.25]) by Forcepoint Email with ESMTPS id EFF444C6A6F82; Thu, 7 Nov 2019 18:53:48 +0800 (CST) Received: from BJHW-Mail-Ex13.internal.baidu.com (10.127.64.36) by BC-Mail-Ex31.internal.baidu.com (172.31.51.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Thu, 7 Nov 2019 18:53:50 +0800 Received: from BJHW-Mail-Ex13.internal.baidu.com ([100.100.100.36]) by BJHW-Mail-Ex13.internal.baidu.com ([100.100.100.36]) with mapi id 15.01.1713.004; Thu, 7 Nov 2019 18:53:50 +0800 From: "Li,Rongqing" To: "Li,Rongqing" , "akpm@linux-foundation.org" , "sergey.senozhatsky.work@gmail.com" , "linux-kernel@vger.kernel.org" , "tglx@linutronix.de" , "Kan.liang@intel.com" Subject: =?gb2312?B?tPC4tDogW1BBVENIXVt2Ml0gd2F0Y2hkb2cvaGFyZGxvY2t1cDogcmVhc3Np?= =?gb2312?Q?gn_last=5Ftimestamp_when_enable_nmi_event?= Thread-Topic: [PATCH][v2] watchdog/hardlockup: reassign last_timestamp when enable nmi event Thread-Index: AQHVhIbsJWHFXEYJak262w7TdcNcAad/qiDw Date: Thu, 7 Nov 2019 10:53:50 +0000 Message-ID: <2142496f954e4f688056c8cc347369a8@baidu.com> References: <1571121247-19392-1-git-send-email-lirongqing@baidu.com> In-Reply-To: <1571121247-19392-1-git-send-email-lirongqing@baidu.com> Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.22.198.4] Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org UGluZyANCg0KVGhhbmtzDQoNCi1MaQ0KDQo+IC0tLS0t08q8/tStvP4tLS0tLQ0KPiC3orz+yMs6 IGxpbnV4LWtlcm5lbC1vd25lckB2Z2VyLmtlcm5lbC5vcmcNCj4gW21haWx0bzpsaW51eC1rZXJu ZWwtb3duZXJAdmdlci5rZXJuZWwub3JnXSC0+rHtIExpIFJvbmdRaW5nDQo+ILeiy83KsbzkOiAy MDE5xOoxMNTCMTXI1SAxNDozNA0KPiDK1bz+yMs6IGFrcG1AbGludXgtZm91bmRhdGlvbi5vcmc7 IHNlcmdleS5zZW5vemhhdHNreS53b3JrQGdtYWlsLmNvbTsNCj4gbGludXgta2VybmVsQHZnZXIu a2VybmVsLm9yZzsgdGdseEBsaW51dHJvbml4LmRlOyBLYW4ubGlhbmdAaW50ZWwuY29tDQo+INb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