Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp892784ybi; Fri, 12 Jul 2019 06:20:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqyZ1J4XL+UmzGsLn/rDCnfkIzaCD5lcysW0pdjo/AnoYFqb61nePEkkoRFR6SH0lxqj7y1B X-Received: by 2002:a63:6686:: with SMTP id a128mr3867232pgc.361.1562937599975; Fri, 12 Jul 2019 06:19:59 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1562937599; cv=pass; d=google.com; s=arc-20160816; b=nccxrZ7UpHI9Ahu2BiSFtkkBXpev3dLdJo4gqV5+8Jc0hH0JQe7yNwccwMbfsNRk4I Rlw5OtTPe0wqyQuN/kXVE3ieHPjXIAzfQI5sSmFB79LohOD+3xNeW0uAmLllNIx0FlSh 6ksBeXy5KJvVaVWCQAY7Bm+bedfm6xDfcXSV/DCjjG9Pt6b5x9acCT9/4IWg892L8GZP DGfkuevtDaWaDKc1LsddII9I1eBksYnaXro3D/60mLrP61CeeRBjh+frvjIIha9Vzivt sVsJPYuPMMbVtg9tloHCFh/WDtcYmpFQFFvwc79Cj4CPcRqbym6Ike3w2YxhSZwvHREh WMtQ== 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:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=MWoXk/DXnocxMRQgklS74GS/rH7Jcy6cJDCrASOI9KM=; b=A5CwxqbhtDLADBqXHIBAM2JxZln3SXgjkTKvE1u/2tSItm5wpuFz1JUAOYL/sl35lw IG+25BtusZiehxZ0HXxmiyIZoGGAEdUvcDqWnIYuFj6JafaOguAlthPwAX3ywOWXpij5 t5hoOGjtyGR9mOzhP8WNRKL4hXly0hK4DCQwQ8FOyhvXfovr00D7ghtvJXmnB/tB7CN4 N9kGQP4DXYti3WBEQC3f2ZXdUwmizmRYP1q3wyg++B+iJ7QDE125kQro3ssjY7LXwQaj 4nia9L5FLE2cjQdrYz2zU1aZSeLUCTlokQ+EiVA3gsapGFF4hLmZzyx6oOCb89ykbkEh pXWQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@vmware.com header.s=selector2 header.b=bICylbc6; arc=pass (i=1 spf=pass spfdomain=vmware.com dkim=pass dkdomain=vmware.com dmarc=pass fromdomain=vmware.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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=vmware.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u12si7964195pfh.256.2019.07.12.06.19.43; Fri, 12 Jul 2019 06:19:59 -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; dkim=pass header.i=@vmware.com header.s=selector2 header.b=bICylbc6; arc=pass (i=1 spf=pass spfdomain=vmware.com dkim=pass dkdomain=vmware.com dmarc=pass fromdomain=vmware.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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=vmware.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727741AbfGLNRt (ORCPT + 99 others); Fri, 12 Jul 2019 09:17:49 -0400 Received: from mail-eopbgr730082.outbound.protection.outlook.com ([40.107.73.82]:24024 "EHLO NAM05-DM3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727363AbfGLNRt (ORCPT ); Fri, 12 Jul 2019 09:17:49 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nduMvQ4iCW8DZgimi7uQUcdOZLNvp59Bo6WRYDBHss/mDgCsM+QXJIvgu8btH0QF++GdYW84AI3XsjR06EcMGGUmOaFDl4Adhda+yEbxLelaH3FiMJh2dK9ONOKIUSRIytSyKiMa4QuaKEdV70yVJJi4IZy4G/NB7JitcJ3+/UlhsnvPUdwoFt8CUhDxosHRR72CR9sGmfzhdgLBzNLEDe2n2tiUqPGrOcDujnIOBOfvP4ycTSy8e9GP0wndpAdglXOCrjzkP6HjKOXOq4MTQ2iqi/ssiouqwW5F3g1yFUkB0Gv/USJ1PE++SUUGmmW7MmwpswDFdh+0+z334HIRGQ== 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=MWoXk/DXnocxMRQgklS74GS/rH7Jcy6cJDCrASOI9KM=; b=P9mN67+GT3K53vkJeoinS1S/Jc/AhkKmmHY9iQIW/EG7851UovLnVPLeVmU+uqTajFphUyF3WgmtgPpjLRq9UzmMNLYhJhwHw6NbyQW3x77aOPVYP29MNpR/TzCR41R+yBz7DNbceYwciqav8dnqVGpPagYuRTBapP/TcsSynbvdlXiE7ljGBTrTLcbcfIo+YhldHHZkXIThz2TssdqQiLIIafQ/Ipw5cNJP82Ygh3tWuQXh5UiVbOhsDQW+ZKSF6A0BpYRz+ydY19TnhcPb09UEUGV8CHMFovOEa4tIrg9HLRRSkopNQxJc6i2vBfPFxLhl8bHM0cWTpWVGe1qQbg== ARC-Authentication-Results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=vmware.com;dmarc=pass action=none header.from=vmware.com;dkim=pass header.d=vmware.com;arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vmware.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=MWoXk/DXnocxMRQgklS74GS/rH7Jcy6cJDCrASOI9KM=; b=bICylbc6pG5bUBIiaVbYT6xLPk6+narjw2FQqTL5VyTDUj50dLp1ipI8DMrK8oNu6c3qhOlUS5nR0kM5+4paWugZNOI6RbhmpGODe+VaOw88BaCinsFc+U84QFitiiTfjgJkqF+C2+SNXo98bT0Vj26dyuPS5ypmGCU/9fFwqFE= Received: from MN2PR05MB6208.namprd05.prod.outlook.com (20.178.241.91) by MN2PR05MB6719.namprd05.prod.outlook.com (20.178.249.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2094.3; Fri, 12 Jul 2019 13:17:45 +0000 Received: from MN2PR05MB6208.namprd05.prod.outlook.com ([fe80::301b:150c:dc88:7d04]) by MN2PR05MB6208.namprd05.prod.outlook.com ([fe80::301b:150c:dc88:7d04%6]) with mapi id 15.20.2094.007; Fri, 12 Jul 2019 13:17:45 +0000 From: Ajay Kaher To: "aarcange@redhat.com" , "jannh@google.com" , "oleg@redhat.com" , "peterx@redhat.com" , "rppt@linux.ibm.com" , "jgg@mellanox.com" , "mhocko@suse.com" CC: "jglisse@redhat.com" , "akpm@linux-foundation.org" , "mike.kravetz@oracle.com" , "viro@zeniv.linux.org.uk" , "riandrews@android.com" , "arve@android.com" , "yishaih@mellanox.com" , "dledford@redhat.com" , "sean.hefty@intel.com" , "hal.rosenstock@gmail.com" , "matanb@mellanox.com" , "leonro@mellanox.com" , "gregkh@linuxfoundation.org" , "torvalds@linux-foundation.org" , "linux-fsdevel@vger.kernel.org" , "linux-mm@kvack.org" , "devel@driverdev.osuosl.org" , "linux-rdma@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "stable@vger.kernel.org" , Srivatsa Bhat , Alexey Makhalov , Vasavi Sirnapalli , "srivatsa@csail.mit.edu" Subject: Re: [PATCH v5 0/3] [v4.9.y] coredump: fix race condition between mmget_not_zero()/get_task_mm() and core dumping Thread-Topic: [PATCH v5 0/3] [v4.9.y] coredump: fix race condition between mmget_not_zero()/get_task_mm() and core dumping Thread-Index: AQHVL/h+GI4Pt8Sp2UWWD50ZJ8kpwqbHZHEA Date: Fri, 12 Jul 2019 13:17:45 +0000 Message-ID: <77C72259-6378-4161-952D-D94D7412D85C@vmware.com> References: <1562005928-1929-1-git-send-email-akaher@vmware.com> <1562005928-1929-4-git-send-email-akaher@vmware.com> In-Reply-To: <1562005928-1929-4-git-send-email-akaher@vmware.com> 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=akaher@vmware.com; x-originating-ip: [103.19.212.1] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: e33fffbb-a3e4-4774-2bcd-08d706cb544f x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020);SRVR:MN2PR05MB6719; x-ms-traffictypediagnostic: MN2PR05MB6719: x-ld-processed: b39138ca-3cee-4b4a-a4d6-cd83d9dd62f0,ExtAddr x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7691; x-forefront-prvs: 00963989E5 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(346002)(136003)(39860400002)(366004)(396003)(376002)(199004)(189003)(2201001)(54906003)(6506007)(71200400001)(71190400001)(66446008)(64756008)(66556008)(66476007)(66946007)(7416002)(4744005)(4326008)(110136005)(6116002)(3846002)(76116006)(91956017)(5660300002)(2501003)(6246003)(486006)(53936002)(8676002)(102836004)(76176011)(66066001)(25786009)(6512007)(86362001)(36756003)(11346002)(68736007)(33656002)(2906002)(229853002)(476003)(446003)(2616005)(81156014)(8936002)(186003)(81166006)(26005)(6486002)(14454004)(6436002)(256004)(7736002)(316002)(305945005)(478600001)(99286004);DIR:OUT;SFP:1101;SCL:1;SRVR:MN2PR05MB6719;H:MN2PR05MB6208.namprd05.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: vmware.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: QdPkjnJdIhMnKYPyPqHJjX0qtSvUhVXY2PNr6QxoTVXr+COKCTyPNeV9aflYELRtHlgWVqzWQTlxPotmdbspj5wdVQq8AJQzwkVPOVpBa8ATN1/FgrLmpGcqKnWlVBBf5qWKaQPmNzFsEk1NJJx5iWClmpvH/Iyntbccv4Q16tyGuEwtLLybFFetksoV8MotR33nirXQ+A2Ch26gSx23eVw147Clpxlkb6QVqk7XWzOlxUWNc1YIzvRKbWQaKCzH+dKH00G9x3xCc4KlA6VdKo4wnxGn4+i/TxCV4t6cxq+Bkwo40qzT6rLDWdT+9uqoA8QqT62HS+UXCmM+OP4gADep20QDg/0Y7J0R0bOUU006Qq6hOUW/WpgUQQsOjIPHy4EqESY6GhIW9ZQBNrLkYSaN2W+rXrEkj7sQzVyiCGY= Content-Type: text/plain; charset="utf-8" Content-ID: <4184F8DE6E30494DA75193C8ACF308A5@namprd05.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: vmware.com X-MS-Exchange-CrossTenant-Network-Message-Id: e33fffbb-a3e4-4774-2bcd-08d706cb544f X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Jul 2019 13:17:45.4689 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: b39138ca-3cee-4b4a-a4d6-cd83d9dd62f0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: akaher@vmware.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR05MB6719 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org R3JlZywgSSBob3BlIHlvdSB3b3VsZCBsaWtlIHRvIGluY2x1ZGUgdGhlc2UgcGF0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