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 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 46DFCC433F5 for ; Mon, 21 Mar 2022 15:16:50 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id BB7B56B0073; Mon, 21 Mar 2022 11:16:49 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id B667A6B0074; Mon, 21 Mar 2022 11:16:49 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id A07786B0075; Mon, 21 Mar 2022 11:16:49 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0211.hostedemail.com [216.40.44.211]) by kanga.kvack.org (Postfix) with ESMTP id 8BB1B6B0073 for ; Mon, 21 Mar 2022 11:16:49 -0400 (EDT) Received: from smtpin26.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id 42AD48249980 for ; Mon, 21 Mar 2022 15:16:49 +0000 (UTC) X-FDA: 79268745738.26.DCCA654 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by imf29.hostedemail.com (Postfix) with ESMTP id BD1F212000A for ; Mon, 21 Mar 2022 15:16:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1647875808; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=nX4QZCO/oNI/owmGNcTSGcMnEF5mlfrSVaizLBz7uJ0=; b=dzkusAr7BganZ0yyd278I1ceXsatr/cmouT8SHPBepaNcD8OxDvNaJ9tGpzCUnN1BqHVzm 9JYC/jtJvB40CaX5bb4uMIC9zb+Q3BIiVmou7jJH4o6qTx2tj+upCerLNNfFPev2Tba9iw SV7UCJ0v7mQik/YcY2+b9zXrErGq+xA= Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-664-rRw5la0rPLCsbphANIptEQ-1; Mon, 21 Mar 2022 11:16:46 -0400 X-MC-Unique: rRw5la0rPLCsbphANIptEQ-1 Received: by mail-wm1-f72.google.com with SMTP id bg28-20020a05600c3c9c00b0038c8da4d9b3so5027782wmb.0 for ; Mon, 21 Mar 2022 08:16:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:organization:in-reply-to :content-transfer-encoding; bh=nX4QZCO/oNI/owmGNcTSGcMnEF5mlfrSVaizLBz7uJ0=; b=TimNjXUbYVklvQU7+GET+3gM4nrp9VimWGwfxDxk0Uz19iKy0ZhPvlAXS1dwh9KXt0 xawPfeemSBQ5xGL8vN6cWTdpEiTQ7upPhPAA5GfopQlCMFMyqdLMvrD0AEg/GkNwd6yP Ptc7zTHnc1xpunpXPgxq95Q7/cqTJOAhdcqPSk24lwmCvsyPiMUmFHLJHsuRG2z5cm81 aMX8q4Cl3rm2cYebLhwR9oiNSMQsrTL35h43XUMJTx0/t2qm746KzUOiE7uo08CfyW2l rKHuEGFyVoO69TWH3Y4MFTSJvi2HgfkdQP6Fn79h0wGvhhYLoI2iWan2PiEUplDwKUVp BhTw== X-Gm-Message-State: AOAM5339+AcrLBIrrlJP+xfQFiWSlIlv4PveuYmP5TZrzFWPzQnjMSE+ sd9djZ1GrWfsCYNBsd9mSev6TvInq6yKJEqUSslHitbpORXvInny8baXAPRzH9ve5NQ1s6Bl3G8 29ECmYwPOVQY= X-Received: by 2002:a5d:5690:0:b0:203:f727:362 with SMTP id f16-20020a5d5690000000b00203f7270362mr13336329wrv.717.1647875805656; Mon, 21 Mar 2022 08:16:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxzTIc10MZuTh5WcD+YFZa7hXvGCjsQ2g+VK/yHzoP82TjLC4Ii/L09EZIrxSnI/6aUkzWG0g== X-Received: by 2002:a5d:5690:0:b0:203:f727:362 with SMTP id f16-20020a5d5690000000b00203f7270362mr13336299wrv.717.1647875805316; Mon, 21 Mar 2022 08:16:45 -0700 (PDT) Received: from ?IPV6:2003:cb:c704:4900:849b:f76e:5e1f:ff95? (p200300cbc7044900849bf76e5e1fff95.dip0.t-ipconnect.de. [2003:cb:c704:4900:849b:f76e:5e1f:ff95]) by smtp.gmail.com with ESMTPSA id i5-20020adfaac5000000b00203fd04bf86sm7526495wrc.66.2022.03.21.08.16.44 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 21 Mar 2022 08:16:44 -0700 (PDT) Message-ID: <9ae0a8e4-41b7-04f4-4435-17cbba9850fb@redhat.com> Date: Mon, 21 Mar 2022 16:16:44 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.6.2 Subject: Re: [GIT PULL] Folio patches for 5.18 (MM part) To: Matthew Wilcox , Linus Torvalds Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, Andrew Morton , Christoph Hellwig , Hugh Dickins , Alex Sierra , Alistair Popple , Miaohe Lin , Mike Rapoport , William Kucharski References: From: David Hildenbrand Organization: Red Hat In-Reply-To: X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Rspam-User: X-Rspamd-Server: rspam12 X-Rspamd-Queue-Id: BD1F212000A X-Stat-Signature: uxiz86k6ja75urdb5quibaxuwirtux3w Authentication-Results: imf29.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=dzkusAr7; spf=none (imf29.hostedemail.com: domain of david@redhat.com has no SPF policy when checking 170.10.133.124) smtp.mailfrom=david@redhat.com; dmarc=pass (policy=none) header.from=redhat.com X-HE-Tag: 1647875808-757768 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 21.03.22 14:30, Matthew Wilcox wrote: > Hi Linus, > > This is the first of two folio-related pull requests for this merge > window. This is the MM side of things and we had some unfortunate > complex merge conflicts to resolve. I decided to redo my changes on > top of Hugh's and Christoph's patches, so I'm the one sending the > pull request. > > The following changes since commit f71077a4d84bbe8c7b91b7db7c4ef815755ac5e3: > > Merge tag 'mmc-v5.17-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc (2022-02-16 12:09:22 -0800) > > are available in the Git repository at: > > git://git.infradead.org/users/willy/pagecache.git tags/folio-5.18 > > for you to fetch changes up to 5063f22c914e3e5f2239cf91f4986042dc705bde: > > mm/damon: minor cleanup for damon_pa_young (2022-03-16 10:09:50 -0400) > > ---------------------------------------------------------------- > Folio changes for 5.18 > > Several of us had overlapping, conflicting changes to the MM this > round, and I volunteered to send the pull request. > > - Hugh rewrote how munlock works to massively reduce the contention > on i_mmap_rwsem: > https://lore.kernel.org/linux-mm/8e4356d-9622-a7f0-b2c-f116b5f2efea@google.com/ > - Christoph sorted out the page refcount mess for ZONE_DEVICE pages: > https://lore.kernel.org/linux-mm/20220210072828.2930359-1-hch@lst.de/ > - I converted GUP to use folios and make pincount available for order-1 > pages. > - I converted a few more truncation functions to use folios > - I converted page_vma_mapped_walk to use PFNs instead of pages > - I converted rmap_walk to use folios > - I converted most of shrink_page_list() to use a folio > - I added support for creating large folios in readahead > > ---------------------------------------------------------------- > Alex Sierra (10): > mm: add zone device coherent type memory support > mm: add device coherent vma selection for memory migration > mm/gup: fail get_user_pages for LONGTERM dev coherent type > drm/amdkfd: add SPM support for SVM > drm/amdkfd: coherent type as sys mem on migration to ram > lib: test_hmm add ioctl to get zone device type > lib: test_hmm add module param for zone device type > lib: add support for device coherent type in test_hmm > tools: update hmm-test to support device coherent type > tools: update test_hmm script to support SP config > > Alistair Popple (2): > mm: remove the vma check in migrate_vma_setup() > mm/gup: migrate device coherent pages when pinning instead of failing ... I thought DEVICE_COHERENT is still under development? -- Thanks, David / dhildenb