Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp120668ybh; Mon, 20 Jul 2020 11:53:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyiptDaukdkT1legf0kiPo+NmYFzSoB/X0wI5NrkFcwARjdxC8HELm9VdiKSmeQdUEdNpJ+ X-Received: by 2002:a50:fe18:: with SMTP id f24mr22639697edt.14.1595271211905; Mon, 20 Jul 2020 11:53:31 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1595271211; cv=pass; d=google.com; s=arc-20160816; b=0tQbvJIR92mTXKTjBXM3Zf2w31blxT5OL5TCgxRtTinzRq3OAz4ZTC5UznwwJuvxtV f670j4Ww97N8dEIZdu0yL7z71QZQbuRVnuGH3KSPwrPgFj/02uJVmz0JpHn4mD6E2x3i G6XkpsQulONQ7UzEsiTDsSM4jUfX4nAGB8LWjw9kbkVBoknoLM2TRZOuVVhJhkQKf/hZ hkfjLdHEEIXokZckHOJKQd2sp2Ja4h2hzbpi6cftIQlAa1Xcpcta3cs8quLvyCSkUr4l QmDAqTw5iwuRHZ1IyBzcbt9aobxxs2Tq8fCmdp7Jz/2CzBNUJJrllHWGLsQVpC4/NSkJ PADQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:wdcipoutbound:user-agent:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature:ironport-sdr :dkim-signature; bh=P/W1J3hZS+8w0MkBh/RR0ZB6VOf4WFLeddvFV49hxfA=; b=tVBysEkLz0sxCXyeO/IsJQLtRSDWK4o00+UUeQI9P9Js+cIf1Vbq7JHr2CWrmHeXdH GW2I3mx1LLB33hMht7rTbExdPpAxzx6jB0CC5iv2m7CZC2rEm+kDBa5z7dothLgpoHDL o26D15qNWYAIowSgfINymolFelPK5BXaaj3qqLgtqeroOJ4Mm2JczSrFKqdCUAckjHBr SB+AzFdTONq42EOPzD31kDzVoLlEMUplrbLF5gUjYrPo1BI93Ud2SAfmKuHlJShivj4H D12vXIxErfOrB2YUQ+7AX451Uefi2IO6Bfkn/GM9PYWxa1ynyf9Dw5S0oOPY+RkyCvB9 OyIA== ARC-Authentication-Results: i=2; mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=VyB8AgUv; dkim=pass header.i=@sharedspace.onmicrosoft.com header.s=selector2-sharedspace-onmicrosoft-com header.b=EjmR6ik1; arc=pass (i=1 spf=pass spfdomain=wdc.com dkim=pass dkdomain=wdc.com dmarc=pass fromdomain=wdc.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=wdc.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f25si10578699edy.565.2020.07.20.11.53.08; Mon, 20 Jul 2020 11:53:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=VyB8AgUv; dkim=pass header.i=@sharedspace.onmicrosoft.com header.s=selector2-sharedspace-onmicrosoft-com header.b=EjmR6ik1; arc=pass (i=1 spf=pass spfdomain=wdc.com dkim=pass dkdomain=wdc.com dmarc=pass fromdomain=wdc.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=wdc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729013AbgGTSuQ (ORCPT + 99 others); Mon, 20 Jul 2020 14:50:16 -0400 Received: from esa4.hgst.iphmx.com ([216.71.154.42]:41268 "EHLO esa4.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726506AbgGTSuO (ORCPT ); Mon, 20 Jul 2020 14:50:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1595271013; x=1626807013; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=P/W1J3hZS+8w0MkBh/RR0ZB6VOf4WFLeddvFV49hxfA=; b=VyB8AgUvpg8SXDD24L/50o3b2okrjmaO0tvMcGyx7ej/mnEu42ndmlhf CuJOMIHTPFrpnFcp4CJsr229vKsM4EDmCbeIpojavNXmH/pFgCjcJ8ybR C4MkE/k197PeqqiT1BBw1Ws1g36t5+C/Ns2NkIlP/HquOnxcwXA7WJ4lj PYs8s/bmo1PD257aRN4oL/qkMoMV1TS5toW8cNQi+Oczs+ZFWFUXnBVsQ rBuBgdBK0yvKNsvKJ6cHutlIb74yBvUSyV3ZjmmMTuwA+wUo13+i7ahWV gKeCPXig6z+OUKvMMvo+im33SpWUxKLIxYvrtAbuwogPYG9HGZzS1cggW Q==; IronPort-SDR: PKIJsneeEsAZIZJW9AV4xE3CG8Cgo8BLk4JcNyZw7rLW6xYb9oyNw0TAqfK8MigS4ObuhYw2BL r2TJfu2e1LPUKNRf3dCPirpOTMdHLZQ7K6GOobS2y202YFfhNh4fkLEGeRCVXm9BgKD5Grp1av Hn7sWKfAVLJsKs+XV7f71TCkGBm6TcWs4zr+tcQtE0n142LyhTr8mzzgCdfKTIcxFu3geoJXif Yn33ucGX5gyfajXBGMzkPNfAV0i49H+P8y3QbvWMDGf82bKSjeB181oyx++gUNQB3RPJmlV5vy pmE= X-IronPort-AV: E=Sophos;i="5.75,375,1589212800"; d="scan'208";a="142943759" Received: from mail-dm6nam10lp2104.outbound.protection.outlook.com (HELO NAM10-DM6-obe.outbound.protection.outlook.com) ([104.47.58.104]) by ob1.hgst.iphmx.com with ESMTP; 21 Jul 2020 02:50:11 +0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MWJu8UGd8s9xsYiFOHUNziTy0Ly6Des8UhPX/EWuv6lvfVz2wddRNzN0+unwtmZBajigRoT7fiLukfR0sibB+o4untafUSGR1CBzS2sWbfHLzZt6W+xdfSIzr98fZVLob6M0nvr+ySqEXb34Ixwmz7ks9fA4d8w5+iqg5iC6QZ+jGmtLCn/e+u7HAFPS/4CUmGcRO1ULUXq03yrKvvR8kjHdRj8DC6+v00/sNrna3GEqxTypsNbC9pxwCs04WPemfbJEuXr6/1yhwMVaNHqJeIXl08HJWeBIpRe7TdkIcWIdbsVHVf2mjOfYpelJXjY9jttiaUOiRoUk3NnQJw5L+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=P/W1J3hZS+8w0MkBh/RR0ZB6VOf4WFLeddvFV49hxfA=; b=Lrs3PqQ7NG7lpdpOGwfkT5qWApWHeIj4Xba5QOPvmh7sgcLFk0wSOOHDjzfvv8unkGRnU+KV0eZdAGLUPZRpWUhfwJFtqelMmWkFaxhmfd5hmxIpX8scEOukSVQrjy6NeAe8E/eRMMHRdeO0cWTeN98h8AaLBVed6c7wfBsikogdkAsIeewIXcmvhrWzR/1S/Q1D6YFVay0OWVnrc6K74Lk9t7+VpVB8nc+RRENlOKercNIIjx+vFTrEBrs+JgZVsXxT5vUs6bLeEGeil/dv/wATHnNGHJJBpNtiIj29N6fGyJxvdjXBAM1dj23JgSOKK9HLi+NNS00KqY207pL99w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=wdc.com; dmarc=pass action=none header.from=wdc.com; dkim=pass header.d=wdc.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sharedspace.onmicrosoft.com; s=selector2-sharedspace-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=P/W1J3hZS+8w0MkBh/RR0ZB6VOf4WFLeddvFV49hxfA=; b=EjmR6ik1GBY65pEO/fKEZg4tNeRUb0V5Tg2jQRL/artNKLKCp0HEezQNe+ktymvLSZbtLxy63ibCQsAySF+kS5NgU+xly/hthSMYY81/MjU17OzYOIPqergJh8BcH4dXIZMmnKeZ0uHBZSARCczwhLznDBNm5IPKSACpP36St4c= Received: from CH2PR04MB6725.namprd04.prod.outlook.com (2603:10b6:610:94::15) by CH2PR04MB6999.namprd04.prod.outlook.com (2603:10b6:610:91::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3195.17; Mon, 20 Jul 2020 18:50:11 +0000 Received: from CH2PR04MB6725.namprd04.prod.outlook.com ([fe80::cc92:ebd4:685c:7f1]) by CH2PR04MB6725.namprd04.prod.outlook.com ([fe80::cc92:ebd4:685c:7f1%3]) with mapi id 15.20.3195.025; Mon, 20 Jul 2020 18:50:10 +0000 From: Atish Patra To: "naresh.kamboju@linaro.org" , "gregkh@linuxfoundation.org" , "stable@vger.kernel.org" CC: "walken@google.com" , "palmerdabbelt@google.com" , "linux-kernel@vger.kernel.org" , "zong.li@sifive.com" , "lkft-triage@lists.linaro.org" Subject: Re: [PATCH 5.7 233/244] RISC-V: Acquire mmap lock before invoking walk_page_range Thread-Topic: [PATCH 5.7 233/244] RISC-V: Acquire mmap lock before invoking walk_page_range Thread-Index: AQHWXrETjDxZGeRGbk6/4QyqHlR0zKkQvJIAgAATOoA= Date: Mon, 20 Jul 2020 18:50:10 +0000 Message-ID: <194a70d4428b96b59594efc5cae7ed26f6da45b3.camel@wdc.com> References: <20200720152825.863040590@linuxfoundation.org> <20200720152836.926007002@linuxfoundation.org> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Evolution 3.36.3 authentication-results: linaro.org; dkim=none (message not signed) header.d=none;linaro.org; dmarc=none action=none header.from=wdc.com; x-originating-ip: [98.248.240.128] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 12570b70-3c73-47a2-2108-08d82cddbaf6 x-ms-traffictypediagnostic: CH2PR04MB6999: x-microsoft-antispam-prvs: wdcipoutbound: EOP-TRUE x-ms-oob-tlc-oobclassifiers: OLM:2201; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: P5IyxX0Vmc2dNjdi3JDN/pWfFDHOD2rFQKn9fzOIMWZj0uKQS/WT9vPZKyQ4nghuQ9NK+9xhbNOmVOIlrmu+ixzbD/918RPXFAV2KkA3N9Cm78z9SE1hKKvJtqDLzp8xIx/3npjLnYu9LeiDRJTSTkd4oL7W+0m4bzLZdro+G9gdNVb57YnjgCZfgC1AMmfBbzv+fVlBBE9QfcUon+O6pzt04LyaqWX2c8wRlO+EorRAVe68MwXPAvHRRLzFxH0IUU+kX/deW/5SqZhEjqABWAqHcSnEO0CZXcDXTMcKQskaFLCAmleJsvhBLMMGhbjNUDhPhsxpECnq3vlm+IbDQt+bEXl0NQ8MDIV7BpYostYFre1xLC8fow6pIj/roIwqzBU1+h4h8gTDeLjqKI6M2A== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CH2PR04MB6725.namprd04.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(4636009)(366004)(39860400002)(346002)(396003)(136003)(376002)(316002)(110136005)(83380400001)(186003)(54906003)(4326008)(2616005)(966005)(71200400001)(8676002)(6506007)(5660300002)(66946007)(66556008)(66446008)(6486002)(26005)(478600001)(2906002)(8936002)(36756003)(66476007)(76116006)(91956017)(86362001)(64756008)(6512007);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: rPsiLD95ygDzM4RR3oeF7lCh/IdthXeCCJqbvI7jImoIAB+DkXQSrrf+76WFRiqNFMp3imoEHbp0x/SFwmGxH+9q7EL4etZGAZInIcgUImq4nVUjFB9NZ+OsGOKT+kgA/OEAlwL6FJTSHCwISvRvqZrTmHUwwW68byt4Wiyzq5WUtbYmw8Fs5T+CcRrLmVpXpUQkhm9wVkMQRtofW/J/A8zu373hUqnFx954x3y6/I4JhX7nPjRfqwnx6R50Zr6UZFmezUXAl1lBbU9s04MkTKMRADHlgivO43n26MF4B9ayGPn4iU+DVOcxVQNq6gjaZ+36wiYVbTzR0Fe+Yzb9OhZtYA052Q8L6rhkw0lPB2oclvyKOPZ4Q5QFuI+hn373A2Wu0Y8sRnNW/S6vtxDIiz6mMlXWoEd/JeYEbes3YUDRisobo8TqZs7Fms9VkYtTY1lT3jfjAZqStFFcIfvZUV8yLtQeNyDY/iWeZzL3elyeKFf6tZj90s+9R+aapQWh x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: wdc.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CH2PR04MB6725.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 12570b70-3c73-47a2-2108-08d82cddbaf6 X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Jul 2020 18:50:10.8409 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: b61c8803-16f3-4c35-9b17-6f65f441df86 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: tPxDot96IV9MO9tBEKog6eJkm7swDjecmX1m3wl0un74YjKsgAkaKZTA6kjFWfHSh09g3msec8v4Ml9CHyAsWA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR04MB6999 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gTW9uLC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