Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1496181ybl; Thu, 5 Dec 2019 02:20:43 -0800 (PST) X-Google-Smtp-Source: APXvYqw1wTF5ORsUxPSqqC7FDzIyJKgisQY46Mlcx1i7n1eCE1w0eQ6ZYZwi2P1BKtr+CoruF+9E X-Received: by 2002:a9d:73c4:: with SMTP id m4mr5555935otk.87.1575541243379; Thu, 05 Dec 2019 02:20:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575541243; cv=none; d=google.com; s=arc-20160816; b=k+d628HgExQIt2RiKLpCWkR6DVZemqxCqTjA8aauvO4uWdoP5SUP4G+MzAzI71gn1T k9GNFTP9Qi5tFvJUQwA5Zc/9TN5ZMuSliaZfUxvCZmGTWSohYhXW5YeIWai6qw5VbORG X9WGZlNcDmW2GcmVXre59W5hJtkJ/ajJePlaOKNggEVMZKny+bovAgXVIaNk3yqH1/1H lmrchYK88e3WR9tTu3nNAbqQGWR4KaG3adutqKer26shTiW3PZ9PLxsmWPbAsvYplQU1 d8m7/Y8KUUgC+ngxoub2+TGGzSE1TgTQPb6DA42Qt/8Vg91Y8Q0fINNNTTvsvRSjsS57 nDoQ== 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=YocniISbeyYL6L97UfJa78WZiDKepwFT3tyXxP+KnYw=; b=uuTv7wO3uMW8NbhtxSziOd2vMjsBS4pJn/OXyBeYTmMHmq2CPW+3GNpt5JTCSChW2m +UaybBaxfi/MECBTxzVGirRfg9LVpxC1/iy/8KErUl3ZzXB1aBVlzSAoheBe2y3WxdqP dGOtSBTFHtUY6tk3oa1KFh/E9lJWXxo40RAz0t6+dFiI/26L7ipmrYSerAJeBvaJMWS2 PJ65EM8tUG57PyOuGXfN0IcDQxQ10OtnRvPyDI6VNBSs66vgU290ibv5sMr4SXbPPoZU x1KzEq0cTnmn4hxyW+cmIPF1XBnzLYKZPPURMPd5U24gMpW9p4rmaJ0RAKavqSFsKWny i6tg== 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 j7si4736867otn.22.2019.12.05.02.20.30; Thu, 05 Dec 2019 02:20:43 -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 S1729326AbfLEKTn (ORCPT + 99 others); Thu, 5 Dec 2019 05:19:43 -0500 Received: from mx20.baidu.com ([111.202.115.85]:33047 "EHLO baidu.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729222AbfLEKTm (ORCPT ); Thu, 5 Dec 2019 05:19:42 -0500 Received: from BJHW-Mail-Ex16.internal.baidu.com (unknown [10.127.64.39]) by Forcepoint Email with ESMTPS id E24DFD9791CE1; Thu, 5 Dec 2019 18:19:36 +0800 (CST) Received: from BJHW-Mail-Ex13.internal.baidu.com (10.127.64.36) by BJHW-Mail-Ex16.internal.baidu.com (10.127.64.39) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Thu, 5 Dec 2019 18:19:37 +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, 5 Dec 2019 18:19:37 +0800 From: "Li,Rongqing" To: "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/qiDwgCv3FSA= Date: Thu, 5 Dec 2019 10:19:36 +0000 Message-ID: References: <1571121247-19392-1-git-send-email-lirongqing@baidu.com> <2142496f954e4f688056c8cc347369a8@baidu.com> In-Reply-To: <2142496f954e4f688056c8cc347369a8@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.17] x-baidu-bdmsfe-datecheck: 1_BJHW-Mail-Ex16_2019-12-05 18:19:37:652 x-baidu-bdmsfe-viruscheck: BJHW-Mail-Ex16_GRAY_Inside_WithoutAtta_2019-12-05 18:19:37:621 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 UGluZw0KDQp0aGFua3MNCg0KLUxpDQoNCg0KPj4gW1BBVENIXVt2Ml0gd2F0Y2hkb2cvaGFyZGxv Y2t1cDogcmVhc3NpZ24gbGFzdF90aW1lc3RhbXAgd2hlbg0KPiA+IGVuYWJsZSBubWkgZXZlbnQN Cj4gPg0KPiA+IGxhc3RfdGltZXN0YW1wIGlzIG5vdCBpbml0aWFsaXplZCBhbmQgaXMgemVybyBh ZnRlciBib290LCBvciBzdG9wIHRvDQo+ID4gZm9yd2FyZCB3aGVuIG5taSB3YXRjaGRvZyBpcyBk aXNhYmxlZDsgYW5kIGZhbH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