Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp1385776ybi; Tue, 16 Jul 2019 14:13:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqxMsAXUDJ6zGa5y1Rpbx1WgvDwigM5/ams/Yb8Wk//x5Yo78WyevwRr3aCWfkc2PAeSowOA X-Received: by 2002:a63:5a4b:: with SMTP id k11mr36708039pgm.143.1563311598303; Tue, 16 Jul 2019 14:13:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563311598; cv=none; d=google.com; s=arc-20160816; b=Ylw/Oc2bv+yVo2hLjMz73B39PdTGnQsVmPQLq7lJ0r9rehFnKllPVvK69Ox9IQNiYi Ma4sh+PW9AZhsxGBHJpnLTLqbjbKWOL7WNTETnpVm+RmQi2SZk0n29acXXFur9Mq+A49 GjOguqzXwQFX5ImHWwYvdUNAPOlorQ6vznWiSO/AQnJYm7Why2JvhWXtDowbgT8YNav+ ssh9ZrZdSih+665RAxHCcBVtcK+q5g5HLBWMrmhCXcAQt2rr7Oikokw2PPa+rL+VrcBX qcPLguf2On1EZqR3StDTF9N8aI/tZ/cl3A1F7aRpvoLbVrMIagU83EcO0pAIYX4FYeON 0eLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=mh9oJF2syVHb1Y2dxeqo0XnShiSGijbTMh9iTn7vFzo=; b=SpYlEE95E1+nBCElzVwnUIV8mn3cgFQf48+KX0f3q3I2BEJblpLtAbYqarDl6DL6ke PYN455fSJcRxXXqROtZ4aQKipjLRaDyAsF5xRIgxH6vQpYw/mvaO0eYAmIyeLpzZkV9U zQr0s1gPtnoc2CnC0h1qBmFLLq33sRjHHJ7jOawNQP/SvKYKiJmX784f0r2mvkvGR+0a UD8aPvkLB9krsrfPPSHHfhKWCr7moUDaM58KjspOOdh/BhOeh2dJbZEzcApce2STd+rS TbaJ+25T7H+bGwcz0/rVbAF7zIguUuekr/lFaHIvm/cHND9irza6RPzlwow/lkup22rs FOhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=e0Yoeza2; 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 y193si21533954pgd.108.2019.07.16.14.12.49; Tue, 16 Jul 2019 14:13:18 -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=@kernel.org header.s=default header.b=e0Yoeza2; 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 S2388713AbfGPVKu (ORCPT + 99 others); Tue, 16 Jul 2019 17:10:50 -0400 Received: from mail.kernel.org ([198.145.29.99]:40506 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728294AbfGPVKu (ORCPT ); Tue, 16 Jul 2019 17:10:50 -0400 Received: from akpm3.svl.corp.google.com (unknown [104.133.8.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 3B38E2173E; Tue, 16 Jul 2019 21:10:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1563311449; bh=n+Bn+l+cocbUUKE1hcmyc7LxYuNmdQZj8ye7iFFZ9dM=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=e0Yoeza2yPveXA+92jY/2RqFilkK5CRv5gg5ToLsnbx6plgyhXBOJ40QVvCgMCLbm lYqzvOyjpPLPYKWu9WnDxSmdsVrY9b+1SIob7lUgtImr2zBWWuaq5EKpNKHNLEUnYG 9D9M+OxP48NSnLTK0ZjW1kxvyv520Q3Jjyii9AuQ= Date: Tue, 16 Jul 2019 14:10:48 -0700 From: Andrew Morton To: Ralph Campbell Cc: John Hubbard , , , =?ISO-8859-1?Q?J=E9r=F4me?= Glisse , "Kirill A. Shutemov" , Mike Kravetz , Jason Gunthorpe Subject: Re: [PATCH] mm/hmm: Fix bad subpage pointer in try_to_unmap_one Message-Id: <20190716141048.c94534a23e4c059dff34e3a1@linux-foundation.org> In-Reply-To: <8dd86951-f8b0-75c2-d738-5080343e5dc5@nvidia.com> References: <20190709223556.28908-1-rcampbell@nvidia.com> <20190709172823.9413bb2333363f7e33a471a0@linux-foundation.org> <05fffcad-cf5e-8f0c-f0c7-6ffbd2b10c2e@nvidia.com> <20190715150031.49c2846f4617f30bca5f043f@linux-foundation.org> <0ee5166a-26cd-a504-b9db-cffd082ecd38@nvidia.com> <8dd86951-f8b0-75c2-d738-5080343e5dc5@nvidia.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 15 Jul 2019 17:38:04 -0700 Ralph Campbell wrote: > I'm not surprised at the confusion. It took me quite awhile to > understand how migrate_vma() works with ZONE_DEVICE private memory. > > ... > > I see Christoph Hellwig got confused by this too [1]. While making such discoveries, please prepare a patch which adds comments which will help the next poor soul!