Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp2576581pxk; Mon, 14 Sep 2020 18:06:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyTGrxZLNiVwQdEFZdoxIbmcag/Gw4Qg5oAcWDldhuRDG4ta+eVyf2Qg5wtoI+qRtG7wOt8 X-Received: by 2002:a17:906:b784:: with SMTP id dt4mr18374813ejb.376.1600132001692; Mon, 14 Sep 2020 18:06:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600132001; cv=none; d=google.com; s=arc-20160816; b=CLkqN/QRgcp9JfMTa2iIGfkZdDZpwrV4FN00Na7+R0t07zNIy8uD0aVwKydpc5xdL+ l0Ke83waub/eZ989O9+1wSKl6f/kQtIRqInBfmT1QDB3SGlF3GQeOG0zZxpqttDu0c9Y zzxzyVa/zyIme6IOjwSopSlIgf8XqsROOixx3Ni0sfWptrXh3zrdQlDGFV2WhK74mXtP FS+/fiSDsZSlAjHiWPDoFGcGdmFp+isFkY7Z2lWe1jkQ0cRKgdIsaRyZNkAWMZgbWdoH FFvUnxRsG1cHaG47AQvYZzwseBXw9tRIFjnZfJ+6DHobm+PI8hECSB8ytwVCVqB2rDJL GAcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:dkim-signature:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from; bh=swLcarL+SErbGe4glwQXQ2j09SBuEg2MIzY+X2J3l/E=; b=T5oSUs7ogh3HJHL+mywfISvUW1kEEOblAfEa5uCyhvN6LuU5ZWqEAJJGEWqdGOLd2J bLFT6rOQgXEKH/HnY7ZEZD543k3d2a0SoCiKmvDh/CubHL+ib8tQM43i8OHIxoeftrO/ JxYHXaIy9lNtXjh9A2qpinFjFRv3zJ3WqkS6W4yFb3oGHWWxWs/rey4Qs0XW0lUbatQY ifvPKKvpyNueVSPE3dhgh5uN+Tot4lIgiMzepmavtXWksg2nRrLpkflXO87NsBEqBFuE Ojq5F5hEf/muo2k41ix9YpTD84YDdNYuIFQFSBcJ7g/QaWd0/Shiu53lH5h40PN5iGUM dNJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b="omD2/Cik"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cy15si8893594edb.525.2020.09.14.18.06.19; Mon, 14 Sep 2020 18:06:41 -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=pass header.i=@nvidia.com header.s=n1 header.b="omD2/Cik"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726069AbgIOBFQ (ORCPT + 99 others); Mon, 14 Sep 2020 21:05:16 -0400 Received: from hqnvemgate24.nvidia.com ([216.228.121.143]:9259 "EHLO hqnvemgate24.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726019AbgIOBFO (ORCPT ); Mon, 14 Sep 2020 21:05:14 -0400 Received: from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate24.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Mon, 14 Sep 2020 18:02:54 -0700 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Mon, 14 Sep 2020 18:05:14 -0700 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Mon, 14 Sep 2020 18:05:14 -0700 Received: from nvdebian.localnet (10.124.1.5) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Tue, 15 Sep 2020 01:05:12 +0000 From: Alistair Popple To: CC: Jason Gunthorpe , Jonathan Corbet , "Ralph Campbell" , , , =?ISO-8859-1?Q?J=E9r=F4me?= Glisse , Andrew Morton Subject: Re: [PATCH] mm/doc: add usage description for migrate_vma_*() Date: Tue, 15 Sep 2020 11:05:10 +1000 Message-ID: <2077765.OaWJzLOgzI@nvdebian> In-Reply-To: <20200910172514.GN87483@ziepe.ca> References: <20200909212956.20104-1-rcampbell@nvidia.com> <20200910105657.6007c5ca@lwn.net> <20200910172514.GN87483@ziepe.ca> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Originating-IP: [10.124.1.5] X-ClientProxiedBy: HQMAIL101.nvidia.com (172.20.187.10) To HQMAIL107.nvidia.com (172.20.187.13) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1600131774; bh=swLcarL+SErbGe4glwQXQ2j09SBuEg2MIzY+X2J3l/E=; h=X-PGP-Universal:From:To:CC:Subject:Date:Message-ID:In-Reply-To: References:MIME-Version:Content-Transfer-Encoding:Content-Type: X-Originating-IP:X-ClientProxiedBy; b=omD2/CikmXtQsewRW5Xcm6oLfynqUJws+0m9UxbArOKZ0GcmdQre2epYqgYYw8iY1 1x9LjsDoKmZRL9kIaukuFDfwbS6Km5frbBRyNf9YV0fjqIjsrcWvGFsxJ59HXFf0h1 jToV31axdAx0lqMhhQ6XL2SNOas1CrCe1MroFFMgJtg3bsZ52RlDfJCeIIiM47vvXU XGYPrk+OgKNVYE+wNkYb/3T9iUL5KFvqaQMa+GG0nBGgvDf1vwHUsOTv2m3qRv2SPM mD4H8N1RDdROB9zI0eUB4hRzp8LU86Dhmtmv/p8ECXlAsDvwmP+KNpTiEcm5Zuucsq x4VpKil5RbPIQ== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Friday, 11 September 2020 3:25:14 AM AEST Jason Gunthorpe wrote: > On Thu, Sep 10, 2020 at 10:56:57AM -0600, Jonathan Corbet wrote: > > On Wed, 9 Sep 2020 14:29:56 -0700 > > > > Ralph Campbell wrote: > > > The migrate_vma_setup(), migrate_vma_pages(), and migrate_vma_finalize() > > > API usage by device drivers is not well documented. > > > Add a description for how device drivers are expected to use it. > > > > > > Signed-off-by: Ralph Campbell > > > > > > There shouldn't be any merge conflict with my previous patch which > > > touched hmm.rst but since Jonathan Corbet took my last patch, perhaps he > > > would like to take this one through his tree too. > > > > I'm happy to take it, but it certainly needs an ack from somebody who > > understands HMM better than I do. > > Ralph wrote all the in kernel tests for this API, so I think he is > well positioned to write the documentation :) I have recently read through most of the code to get back up to date with recent HMM developments and the documentation here didn't conflict with my understanding based on the code. The description of pgmap_owner is good as it's usage wasn't immediately clear on the first code read through. So feel free to add: Reviewed-by: Alistair Popple > Jason