Received: by 10.213.65.68 with SMTP id h4csp1200523imn; Wed, 14 Mar 2018 12:40:14 -0700 (PDT) X-Google-Smtp-Source: AG47ELvxeEmeeweX3v7+tZsmJ72ivUnbGX6X84O5COKpQNvXgpf6ZcrmzVIILS+ILSIpdaScI8Vo X-Received: by 2002:a17:902:144:: with SMTP id 62-v6mr5234687plb.202.1521056414309; Wed, 14 Mar 2018 12:40:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521056414; cv=none; d=google.com; s=arc-20160816; b=vSRf8dd9eA41UxckfxNhXZGpQxZiaD6i0VlOK1cprilqKDaAvtYfIvbYSvIvYDV04j 3W3d5V9oK26wniB9zADmx8DOEtQZkOdxqFT6sknuFiz0R/8B0PuVcoLeILquonFH86aO IVsULnMJA/2XrjYEDoOlz0MrBY4i5FqwePxlyvbsfl5l08BXDlW/oa229D/fSeE8S5G2 qotv/g8F6Uwg9kXXV9CXysGYMVQ4ktsYBvrV40+yj58ObDDuefvR/pvqPhYBBLkQAEbW hcfcfQr6u2pbtkbYUEIsF35EjhxbAxmxte6O++KYJDkfzt38WnD03lWW0wU+OXPfiMQ1 ByLQ== 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-id:spamdiagnosticmetadata:spamdiagnosticoutput :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from :arc-authentication-results; bh=MbM5t/ZVNOAs+TGpOdYzZ5pmtC46kRjyQdHxZvOHOgY=; b=S2RbsKPppdTVRKBgatpeYcG+ZfKSGuINWFXvRLVFHmwXwv1edgYuVeaGF23G+/KCUQ 7I4RIYJ0loKELltZ+R4fhn0Nvrp8f1dsqpIebj0mN4SJCpwqopxx3sOKEso+MUj0/MzB O8N2tJKjs4+FPu74TSAPnwOtK0n9QeffiF7IC09d3lhd9KsrUOD3dEHBK6Lq0OyTyuCS pCkIkcPsY3cy+ENn2LKpoBi0byn50IymXja3EgbBzAz3bjYtCgSKGoMAmW6wOzsoRymb 5zV35msh+M1w5LeKwxZ6al40+O10X4GmbSdyo6SvRenpLXFuCAKxMboQrKqPLpU4Rn8j hznQ== 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 y184si2258752pgb.120.2018.03.14.12.39.59; Wed, 14 Mar 2018 12:40:14 -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 S1751543AbeCNTiz (ORCPT + 99 others); Wed, 14 Mar 2018 15:38:55 -0400 Received: from g4t3425.houston.hpe.com ([15.241.140.78]:42645 "EHLO g4t3425.houston.hpe.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750779AbeCNTiy (ORCPT ); Wed, 14 Mar 2018 15:38:54 -0400 Received: from G4W9121.americas.hpqcorp.net (exchangepmrr1.us.hpecorp.net [16.210.21.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by g4t3425.houston.hpe.com (Postfix) with ESMTPS id CC28CC3; Wed, 14 Mar 2018 19:38:53 +0000 (UTC) Received: from G9W8456.americas.hpqcorp.net (2002:10d8:a15f::10d8:a15f) by G4W9121.americas.hpqcorp.net (2002:10d2:1510::10d2:1510) with Microsoft SMTP Server (TLS) id 15.0.1178.4; Wed, 14 Mar 2018 19:38:53 +0000 Received: from NAM02-SN1-obe.outbound.protection.outlook.com (15.241.52.10) by G9W8456.americas.hpqcorp.net (16.216.161.95) with Microsoft SMTP Server (TLS) id 15.0.1178.4 via Frontend Transport; Wed, 14 Mar 2018 19:38:53 +0000 Received: from DF4PR8401MB0396.NAMPRD84.PROD.OUTLOOK.COM (10.169.83.9) by DF4PR8401MB0491.NAMPRD84.PROD.OUTLOOK.COM (10.169.83.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.588.14; Wed, 14 Mar 2018 19:38:51 +0000 Received: from DF4PR8401MB0396.NAMPRD84.PROD.OUTLOOK.COM ([fe80::d9df:7fa:9dc7:4394]) by DF4PR8401MB0396.NAMPRD84.PROD.OUTLOOK.COM ([fe80::d9df:7fa:9dc7:4394%17]) with mapi id 15.20.0588.013; Wed, 14 Mar 2018 19:38:51 +0000 From: "Kani, Toshi" To: "tglx@linutronix.de" CC: "linux-kernel@vger.kernel.org" , "linux-mm@kvack.org" , "gratian.crisan@ni.com" , "x86@kernel.org" , "hpa@zytor.com" , "mingo@redhat.com" , "luto@kernel.org" , "bp@alien8.de" Subject: Re: [PATCH 2/2] x86/mm: remove pointless checks in vmalloc_fault Thread-Topic: [PATCH 2/2] x86/mm: remove pointless checks in vmalloc_fault Thread-Index: AQHTuu1O8NBR8jCjgUCIh54olLs4nKPQHwoAgAADPoA= Date: Wed, 14 Mar 2018 19:38:51 +0000 Message-ID: <1521056327.2693.138.camel@hpe.com> References: <20180313170347.3829-1-toshi.kani@hpe.com> <20180313170347.3829-3-toshi.kani@hpe.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=toshi.kani@hpe.com; x-originating-ip: [15.211.195.8] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;DF4PR8401MB0491;7:zSNps0m4aiXFNUHz4XU4vr+/174iAxx18cFXWZsYoJucswri618jg+KtkQ3hdQu2GFv1ITRYsHO6okMrfM+xq2FZ18JQJwCDtBPCg8Xhu1HxcnD1mojjhTvoJ9mVqp7kXlxyVOqk8t12/DiIAAeKXhdVV2geqki3iFEegerHQ0Vw3Xce14z+O7W5fIpVv8Pd6WIfl7YeEiZLqOaV5DwRqdF2oH97FNkC4mk/lL2nfe6AMgkMQ+5KqaUNu4oR0/Rj x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: e8c8e678-4e4a-4b9c-3fe6-08d589e336ec x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(8989060)(48565401081)(5600026)(4604075)(3008032)(4534165)(4627221)(201703031133081)(201702281549075)(8990040)(2017052603328)(7153060)(7193020);SRVR:DF4PR8401MB0491; x-ms-traffictypediagnostic: DF4PR8401MB0491: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(10201501046)(3002001)(3231221)(944501244)(52105095)(93006095)(93001095)(6055026)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123562045)(20161123560045)(20161123558120)(6072148)(201708071742011);SRVR:DF4PR8401MB0491;BCL:0;PCL:0;RULEID:;SRVR:DF4PR8401MB0491; x-forefront-prvs: 0611A21987 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(39380400002)(39860400002)(366004)(376002)(346002)(396003)(189003)(199004)(377424004)(2906002)(103116003)(5660300001)(2900100001)(186003)(2351001)(102836004)(229853002)(86362001)(6116002)(6436002)(2501003)(14454004)(316002)(53936002)(478600001)(5640700003)(5250100002)(3280700002)(26005)(36756003)(6512007)(105586002)(3846002)(6246003)(8676002)(6486002)(106356001)(305945005)(25786009)(66066001)(97736004)(8936002)(4326008)(7736002)(81156014)(81166006)(1730700003)(6506007)(54906003)(3660700001)(6916009)(99286004)(68736007)(2950100002)(76176011);DIR:OUT;SFP:1102;SCL:1;SRVR:DF4PR8401MB0491;H:DF4PR8401MB0396.NAMPRD84.PROD.OUTLOOK.COM;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; received-spf: None (protection.outlook.com: hpe.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: j+EpJiew3dS9JXt65pa/WtQA2moZChm7ivVEL64n3+eMQGZTyJNtu5rJSHwA4e4HPMAuoBeiDzDGDjFK7le+LqlC1/2IKc/iNR7+2K4UczTuu1kTxfjEWBaW+nOYsdHmG1aw+RuGJiqqtq/UMYQh6PXskkOXu9Um5jSOww7SM8HvIvhgW6X6LEKsgXGvxtHHBnFKQF9Up/lE5Q8Ej98o9a7Gytx38au0bFPCR8M9fXZEGLp9H7i5wjTUVbPb2DNMOQy2N8NiAdwg4sEnmn2zUmhqFAtyA2tsig90SYDj1PyeG+VyeMk5PugG9Uy+xqJtTaTtPr+Q0bpL7apSjoUyfQ== spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <95D0813A8DE3224DAA8F43FA8237DC15@NAMPRD84.PROD.OUTLOOK.COM> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: e8c8e678-4e4a-4b9c-3fe6-08d589e336ec X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Mar 2018 19:38:51.3889 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 105b2061-b669-4b31-92ac-24d304d195dc X-MS-Exchange-Transport-CrossTenantHeadersStamped: DF4PR8401MB0491 X-OriginatorOrg: hpe.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gV2VkLCAyMDE4LTAzLTE0IGF0IDIwOjI3ICswMTAwLCBUaG9tYXMgR2xlaXhuZXIgd3JvdGU6 DQo+IE9uIFR1ZSwgMT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