Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp5643171ybg; Tue, 22 Oct 2019 06:23:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqyz0ZP7RsYjCxvECqwZpiOafvuD3vGzJMDc6CDbWUPAG9K65tHTu/1zcCWskl5hwLkJtKIo X-Received: by 2002:a50:8969:: with SMTP id f38mr7887788edf.211.1571750621890; Tue, 22 Oct 2019 06:23:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571750621; cv=none; d=google.com; s=arc-20160816; b=eL6cD0DUddO9uExqZ1Y2C1eGsHHosIzqlHqwzctKJm+DueeNyzPhfGIT9+lB1GDI2S /WO38TYa1eAa32xtTh/yWRc+A5qRS6omaMFXZX0D5RZh8E66xOiHWyWxxm7F4VCbShdP zDkVB8KWTb8nG8ftbv5CCTJ+H+1ZrN3ZlgcoQTR87ef8m/3ZWISgYcIbJhr9WsWCV8N4 K+KaQWcrxt3My+gSckQyDqsKzKmXDlk+4bsbvjB0xT0/KzLZJsIqRwiGYuggt4+FcgaD Iz/kNxKqXvaYExv8myAZVrIJZIKutNawqcCnezaQWiDB5U/vQv5cr+o3z7cAUo7WX0rT 6APw== 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=EI1yD7vlEMj0R/nXnzg+Q9oreWfRuTGVpbMdPxJH31U=; b=PWbUE3RwgiW8zx+nRH9k8MWlVmOK2WyWVgsp0OKU6djiCZ+GyN0BC8vXOktZSFc2bl CXOczbQ27VBhpe7USWnHvkDYKmUlQKdgC5QS7CjpDoKU8lDei7+KrHPtLs/KLwmCY/+t iqzBW4JxYi4XpaZO8f7KOA4bp5ZZRO5FFHPtQNgdHQyIjgQTLs4ji5f8ZwThReXAJXyv VahOP/DN5EtsB/TD11uPqXQny6Byux6T6V6MrZ+3x3YTHRDFD8HG3xxSa9z+XFMfAlFz Ptad9lZl84dSw/aHSRtgn+Jv3dXm+dsoTegJLF43fXsZuGsmrBuD8okn/viv369KdEw5 4nHQ== 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 l19si12248552eds.389.2019.10.22.06.22.47; Tue, 22 Oct 2019 06:23:41 -0700 (PDT) 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 S2388667AbfJVLbF (ORCPT + 99 others); Tue, 22 Oct 2019 07:31:05 -0400 Received: from mx21.baidu.com ([220.181.3.85]:51821 "EHLO baidu.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2387768AbfJVLbF (ORCPT ); Tue, 22 Oct 2019 07:31:05 -0400 X-Greylist: delayed 1859 seconds by postgrey-1.27 at vger.kernel.org; Tue, 22 Oct 2019 07:31:03 EDT Received: from BJHW-Mail-Ex15.internal.baidu.com (unknown [10.127.64.38]) by Forcepoint Email with ESMTPS id C2BA71A427E44; Tue, 22 Oct 2019 18:43:38 +0800 (CST) Received: from BJHW-Mail-Ex13.internal.baidu.com (10.127.64.36) by BJHW-Mail-Ex15.internal.baidu.com (10.127.64.38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Tue, 22 Oct 2019 18:43:40 +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; Tue, 22 Oct 2019 18:43:40 +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: AQHVhIbsJWHFXEYJak262w7TdcNcAadmgfVA Date: Tue, 22 Oct 2019 10:43:40 +0000 Message-ID: <076b0c0a3e284e5e8821fc6db161f857@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.33] 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 UGluZw0KDQpUaGFua3MNCg0KLUxpDQoNCj4gLS0tLS3Tyrz+1K28/i0tLS0tDQo+ILeivP7Iyzog bGludXgta2VybmVsLW93bmVyQHZnZXIua2VybmVsLm9yZw0KPiBbbWFpbHRvOmxpbnV4LWtlcm5l bC1vd25lckB2Z2VyLmtlcm5lbC5vcmddILT6se0gTGkgUm9uZ1FpbmcNCj4gt6LLzcqxvOQ6IDIw MTnE6jEw1MIxNcjVIDE0OjM0DQo+IMrVvP7IyzogYWtwbUBsaW51eC1mb3VuZGF0aW9uLm9yZzsg c2VyZ2V5LnNlbm96aGF0c2t5LndvcmtAZ21haWwuY29tOw0KPiBsaW51eC1rZXJ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