Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp2912455ybt; Mon, 22 Jun 2020 10:03:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw3OAzqfBmoS6W/YnmYD07+B6mn6u6UtegdwEnI6ESJg/ScNUhSLtqndHaNvsTbBBEn0FG5 X-Received: by 2002:a17:906:4f94:: with SMTP id o20mr16082073eju.113.1592845388702; Mon, 22 Jun 2020 10:03:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592845388; cv=none; d=google.com; s=arc-20160816; b=RXg1f6N9z+ljGLAsvuS9LsdSLIwwVQBvkPe18tMjzopxpOmWDTbThmfEbat2GOnXBn 21wFSCbh92gd2gjlBHuowUW0KNDfDXQ9XxnbiiED7upgJS//VONX0t+WKjflWzKrPUG6 qqcSjKizJA/lpLSA/Va5mEr7YvroT4RByPOB83WIo+wTM3/xFYBCGrWFus9r1oX5fN+k oUNB18zvMbEseNtOon+5iJtc0BSWCVK9UZj625E7CBgVJhW4VJ2kjMNP4ZAkve9tX/Pp 7eHYPGC6h1vIxE7E4eUwePx3n/E8NwqYOndC96HsmGXtb0ERGkhQbxYSs6Rb2PADnUe9 Tdeg== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=17rmJOZx2NuUvyVDIKMt8wguy1oUyTRKNcnhF9ewJgU=; b=Zmua/7MGuv0q27OV4ECaYQ/TjUHaF8i9C2eHntk/3oBQuRCQ06iKRUyAifHARol+J7 e4VFCbtrO5GAKqhX8qNo4q8/AS5uyktUdMLp1YOziGV9J0HGCc4FuHi6LYDzJrMjibtP yuhFPCan9qe+hOoU3CCsUo2sBdAKW3ak2Rb8Akzl22NX//besuDcfSklDiD/lG5vjraY H8iN8wIu7MF6Kg2OxpJNmPxTKOR3P2evhKKJwd7bbTiqBcYQUxvgqReQ9b2OdNleae/w RUJuPLA4E2+DimzT0rwKxdoK9OE/r8zYrfGz+0V5nxGkuMYAotY7RQJjr0go22gV+G1v fJaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=rwo9R4gF; 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 g15si10157240ejx.146.2020.06.22.10.02.46; Mon, 22 Jun 2020 10:03:08 -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=rwo9R4gF; 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 S1729856AbgFVQ7B (ORCPT + 99 others); Mon, 22 Jun 2020 12:59:01 -0400 Received: from hqnvemgate26.nvidia.com ([216.228.121.65]:3554 "EHLO hqnvemgate26.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729563AbgFVQ7B (ORCPT ); Mon, 22 Jun 2020 12:59:01 -0400 Received: from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate26.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Mon, 22 Jun 2020 09:58:48 -0700 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Mon, 22 Jun 2020 09:59:01 -0700 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Mon, 22 Jun 2020 09:59:01 -0700 Received: from rcampbell-dev.nvidia.com (10.124.1.5) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Mon, 22 Jun 2020 16:58:54 +0000 Subject: Re: [PATCH 00/16] mm/hmm/nouveau: THP mapping and migration To: Jason Gunthorpe CC: , , , , , Jerome Glisse , "John Hubbard" , Christoph Hellwig , Ben Skeggs , Andrew Morton , Shuah Khan References: <20200619215649.32297-1-rcampbell@nvidia.com> <20200622123947.GC2590509@mellanox.com> X-Nvconfidentiality: public From: Ralph Campbell Message-ID: <05bcdcd7-d17b-9092-1a9c-759fb0eab728@nvidia.com> Date: Mon, 22 Jun 2020 09:58:54 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 MIME-Version: 1.0 In-Reply-To: <20200622123947.GC2590509@mellanox.com> X-Originating-IP: [10.124.1.5] X-ClientProxiedBy: HQMAIL101.nvidia.com (172.20.187.10) To HQMAIL107.nvidia.com (172.20.187.13) Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1592845128; bh=17rmJOZx2NuUvyVDIKMt8wguy1oUyTRKNcnhF9ewJgU=; h=X-PGP-Universal:Subject:To:CC:References:X-Nvconfidentiality:From: Message-ID:Date:User-Agent:MIME-Version:In-Reply-To: X-Originating-IP:X-ClientProxiedBy:Content-Type:Content-Language: Content-Transfer-Encoding; b=rwo9R4gFj7zEIuYXLuR8sMIDq669bABVnTdSwAYO0cdeo2tW8lCTawdU2ufryO5gF TihfxNdj7WV0NLbF2cwCoY+9bQwqoKgpyRQZbZDBnr8oRJto2vtsDB8nq3YKnbCXjK S/uT/aAPAzmPVQU3ymyYvZSxHqUFtJxS3GDJvYhevPLnQs68Nm7fcnzgheqizzkEKG 6aC/rTKNMF2zZNlj8LJaUFNmhRIkIEe5FrlRhUYZ+1anzI+NOgdtFQf5t2jPzzFcOB R1Z68hKNEXvJIC2clDRCVFbEeB2PSf95gbtf8ZlCxVHaGZSk2HTN7djCwV/nWvvK6u W8sju/hNTpTkQ== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 6/22/20 5:39 AM, Jason Gunthorpe wrote: > On Fri, Jun 19, 2020 at 02:56:33PM -0700, Ralph Campbell wrote: >> These patches apply to linux-5.8.0-rc1. Patches 1-3 should probably go >> into 5.8, the others can be queued for 5.9. Patches 4-6 improve the HMM >> self tests. Patch 7-8 prepare nouveau for the meat of this series which >> adds support and testing for compound page mapping of system memory >> (patches 9-11) and compound page migration to device private memory >> (patches 12-16). Since these changes are split across mm core, nouveau, >> and testing, I'm guessing Jason Gunthorpe's HMM tree would be appropriate. > > You need to break this up into parts that go where they need to > go. Nouveau rc changes should go to DRM or some series needs to > explain the linkage > >> Ralph Campbell (16): >> mm: fix migrate_vma_setup() src_owner and normal pages >> nouveau: fix migrate page regression >> nouveau: fix mixed normal and device private page migration >> mm/hmm: fix test timeout on slower machines >> mm/hmm/test: remove redundant page table invalidate >> mm/hmm: test mixed normal and device private migrations >> nouveau: make nvkm_vmm_ctor() and nvkm_mmu_ptp_get() static >> nouveau/hmm: fault one page at a time >> mm/hmm: add output flag for compound page mapping >> nouveau/hmm: support mapping large sysmem pages >> hmm: add tests for HMM_PFN_COMPOUND flag >> mm/hmm: optimize migrate_vma_setup() for holes > > Order things so it is hmm, test, noeveau > >> mm: support THP migration to device private memory >> mm/thp: add THP allocation helper >> mm/hmm/test: add self tests for THP migration >> nouveau: support THP migration to private memory > > This is another series, you should split it even if it has to go > through the hmm tree > > Jason Thanks. I thought there was probably a better way to submit this but I posted everything so people could see how it all fit together.