Received: by 2002:a17:90a:88:0:0:0:0 with SMTP id a8csp47022pja; Fri, 22 Nov 2019 03:16:11 -0800 (PST) X-Google-Smtp-Source: APXvYqwJGqh0vP0nYwAU7Ppfwe9NL6Co4YSLR5+aGEhM+FJOmhm6wehep2bV5iXkrYBGKg5XZqGj X-Received: by 2002:a05:6402:329:: with SMTP id q9mr372297edw.76.1574421371700; Fri, 22 Nov 2019 03:16:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574421371; cv=none; d=google.com; s=arc-20160816; b=VrMYJA/SFS6hyDl0ItBT65gqRZWXZv9tuojFtgGpC1jedaFSOCT6IPJhdsgdgKrMqN 9ZKN5M9zbs8J0LEkVy1qgnbpRh9zrb0YfjMDMNxdDnjqYzCx5U8ZhOzZ9ReCG/F55dVh CXYQHSy6rMS7+syi/wxWMYkmjGkSMVpdcmi8O+OoVGwiRvbKS0c41D1ItL1wzue15agd vVU2qR8G2dn+gPgTJkBnmirskzdSmii4uNczwvmQ0f3cGB8mxp4E6af63/8zgQCchE3Q j9aY2udWziH7DR63GWoElxgKnJBPvPbjF5H7T5/XWZvJda8NNqDizqnhQq5afiaRkUFE T+og== 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=LjEmr4SW03CSSeJAMv7VtojJvAA/CJ1tXSPQeMu/TVg=; b=q6rDo6mFGaqj6+/yROU4iJRbal1fhOWragJaeCop5dFh2ir35h1GlPn5cmicOCQIPY DaeiMgzeB8T+TVLHlbfSL3YQVkzSqsmtOk1PRn6/Zv1IFk1Iit/Zp5GW+Q2jFkh9A6gB 9KHd+vEqMQrstWwTN6+tSszvPOFkrAVVGJtu3wOqPSyycAmch8eQJ82VwA1HkXIT5L55 Dir8h03bKi/P6k0UfSKHqdoCCDBUnBy+WX8r4qVE0/QNm0DTrLtzelo4/cyWeJ37qDey HWW/iuQDOqwjRZ0eebEPYv5P8DSlYGuernRJos99D1blIOPyxzVqlGfHe8tgnIampzIi mbhw== 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 u24si3724258ejb.93.2019.11.22.03.15.47; Fri, 22 Nov 2019 03:16:11 -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 S1730478AbfKVKzd (ORCPT + 99 others); Fri, 22 Nov 2019 05:55:33 -0500 Received: from mx20.baidu.com ([111.202.115.85]:39054 "EHLO baidu.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730453AbfKVKza (ORCPT ); Fri, 22 Nov 2019 05:55:30 -0500 X-Greylist: delayed 968 seconds by postgrey-1.27 at vger.kernel.org; Fri, 22 Nov 2019 05:55:27 EST Received: from BC-Mail-Ex14.internal.baidu.com (unknown [172.31.51.54]) by Forcepoint Email with ESMTPS id 5F2AC10F919DB; Fri, 22 Nov 2019 18:39:14 +0800 (CST) Received: from BJHW-Mail-Ex13.internal.baidu.com (10.127.64.36) by BC-Mail-Ex14.internal.baidu.com (172.31.51.54) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1531.3; Fri, 22 Nov 2019 18:39:15 +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; Fri, 22 Nov 2019 18:39:15 +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/qiDwgBeO69A= Date: Fri, 22 Nov 2019 10:39:15 +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.14] x-baidu-bdmsfe-datecheck: 1_BC-Mail-Ex14_2019-11-22 18:39:15:620 x-baidu-bdmsfe-viruscheck: BC-Mail-Ex14_GRAY_Inside_WithoutAtta_2019-11-22 18:39:15:604 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 UGluZw0KDQpUaGFua3MNCi1Sb25nUWluZw0KDQo+IC0tLS0t08q8/tStvP4tLS0tLQ0KPiC3orz+ yMs6IExpLFJvbmdxaW5nDQo+ILeiy83KsbzkOiAyMDE5xOoxMdTCN8jVIDE4OjU0DQo+IMrVvP7I yzogTGksUm9uZ3FpbmcgPGxpcm9uZ3FpbmdAYmFpZHUuY29tPjsgYWtwbUBsaW51eC1mb3VuZGF0 aW9uLm9yZzsNCj4gc2VyZ2V5LnNlbm96aGF0c2t5LndvcmtA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