From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B9EE5C433E1 for ; Mon, 22 Jun 2020 16:59:04 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 760AC20768 for ; Mon, 22 Jun 2020 16:59:04 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=nvidia.com header.i=@nvidia.com header.b="rwo9R4gF" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 760AC20768 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nvidia.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 1A6246B0007; Mon, 22 Jun 2020 12:59:04 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 1564E6B000A; Mon, 22 Jun 2020 12:59:04 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 045946B000C; Mon, 22 Jun 2020 12:59:03 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0232.hostedemail.com [216.40.44.232]) by kanga.kvack.org (Postfix) with ESMTP id DB3016B0007 for ; Mon, 22 Jun 2020 12:59:03 -0400 (EDT) Received: from smtpin27.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id 83C2212DE37 for ; Mon, 22 Jun 2020 16:59:03 +0000 (UTC) X-FDA: 76957457766.27.ice85_4f0e5b526e34 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin27.hostedemail.com (Postfix) with ESMTP id 4A7273A5 for ; Mon, 22 Jun 2020 16:59:03 +0000 (UTC) X-HE-Tag: ice85_4f0e5b526e34 X-Filterd-Recvd-Size: 4755 Received: from hqnvemgate26.nvidia.com (hqnvemgate26.nvidia.com [216.228.121.65]) by imf32.hostedemail.com (Postfix) with ESMTP for ; Mon, 22 Jun 2020 16:59:02 +0000 (UTC) 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== X-Rspamd-Queue-Id: 4A7273A5 X-Spamd-Result: default: False [0.00 / 100.00] X-Rspamd-Server: rspam04 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: 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.