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=-8.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,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 478FEC433ED for ; Mon, 10 May 2021 18:13:40 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id D1B9F6147E for ; Mon, 10 May 2021 18:13:39 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D1B9F6147E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 589D96B0072; Mon, 10 May 2021 14:13:39 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 5386F6B0073; Mon, 10 May 2021 14:13:39 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 3B1B16B0074; Mon, 10 May 2021 14:13:39 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id 1C00D6B0072 for ; Mon, 10 May 2021 14:13:39 -0400 (EDT) Received: from smtpin09.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id CA45F62E0 for ; Mon, 10 May 2021 18:13:38 +0000 (UTC) X-FDA: 78126119316.09.BB5B071 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by imf21.hostedemail.com (Postfix) with ESMTP id 204FEE0011FA for ; Mon, 10 May 2021 18:13:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1620670417; 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=7Wf8f/F8o0r8V5l27inB82r07nwwlRw1f5EgRtSutt0=; b=FRAIjV41EfpxRVqHMzXpKWRnznNiqLH/p+eQGfjEf/TmarK9d0DczzGrGdA6kT3lWOUaWR Ykba2h1oAxFZYTS3iCuRSAc6ttUQ/0fbNHnjHiYruzI69p7u/hRB6/7u+uMSjc8YxBZTrX uagwQVLlj2bUOJhL76wRlLON+WRP33s= Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-84-mv1649crPca6nvq_bVKx7w-1; Mon, 10 May 2021 14:13:34 -0400 X-MC-Unique: mv1649crPca6nvq_bVKx7w-1 Received: by mail-wm1-f70.google.com with SMTP id g17-20020a05600c0011b029014399f816a3so3777168wmc.7 for ; Mon, 10 May 2021 11:13:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=7Wf8f/F8o0r8V5l27inB82r07nwwlRw1f5EgRtSutt0=; b=rrryxzP2NSEVILaWqcY2eCXGgIJw6+XHADl/Qk+HsmUMFCn0eWXnqd1bEyIHjYkf/W G1OubsE+XPRk+aASnUtLDLP8rVsGTruTOvLildgOGCs641FlKqPPtne3qryFZrcjDpgn ZWXtyzA6XF3qq/p9mUmjBmF02Dw2mYYFU7Xbdd4wIAifviNyNga05niJPA1w6l5RtlLe 3+tuXrEZ2KlhCwELF0ihZ/7eaHnQUBf/Xc0wAGMo+1tObvx+tuCZocuODj4Qr71C+nXD R+N8hkjYG7/2AiQpFCz5+J+A73wGUdqssD++KZD8VVpTXNjCA0ZUdzXD/t0HfTL6bcim /0CQ== X-Gm-Message-State: AOAM533rwJUc7pFpuyNGCgu7bBwnLWLfrL7CRLKhvB9pq0Fn1BW7cxCN o8Yvj74HblSoS7dnKGU6MXvCM7/3Vv5/igbcgh9nt1nJc7V5qLVHTMGeu5dilezTy95TYUi7bPk 8VSE1zOB2Rtk= X-Received: by 2002:adf:fc11:: with SMTP id i17mr32538509wrr.368.1620670413548; Mon, 10 May 2021 11:13:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyGvjeRTScdahfNDHcrMa8YC+8YvhVA4fNTrW6yB7yOb/uXjCn86kTNe8u7Q2MyqQ4FAIUnCg== X-Received: by 2002:adf:fc11:: with SMTP id i17mr32538485wrr.368.1620670413383; Mon, 10 May 2021 11:13:33 -0700 (PDT) Received: from ?IPv6:2001:b07:6468:f312:c8dd:75d4:99ab:290a? ([2001:b07:6468:f312:c8dd:75d4:99ab:290a]) by smtp.gmail.com with ESMTPSA id j7sm20597281wmi.21.2021.05.10.11.13.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 10 May 2021 11:13:32 -0700 (PDT) Subject: Re: [PULL] topic/iomem-mmap-vs-gup To: Sean Christopherson , Jason Gunthorpe Cc: Daniel Vetter , Linus Torvalds , Tomasz Figa , Marek Szyprowski , Mauro Carvalho Chehab , DRI Development , LKML , Linux-MM , Linux ARM , Linux Media Mailing List , linux-samsung-soc References: <20210510135031.GF2047089@ziepe.ca> <20210510153412.GG2047089@ziepe.ca> From: Paolo Bonzini Message-ID: Date: Mon, 10 May 2021 20:13:31 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 204FEE0011FA Authentication-Results: imf21.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=FRAIjV41; spf=none (imf21.hostedemail.com: domain of pbonzini@redhat.com has no SPF policy when checking 170.10.133.124) smtp.mailfrom=pbonzini@redhat.com; dmarc=pass (policy=none) header.from=redhat.com X-Rspamd-Server: rspam04 X-Stat-Signature: zd5j4sjxgweyzhddtru3n1ebaowcc6tz Received-SPF: none (redhat.com>: No applicable sender policy available) receiver=imf21; identity=mailfrom; envelope-from=""; helo=us-smtp-delivery-124.mimecast.com; client-ip=170.10.133.124 X-HE-DKIM-Result: pass/pass X-HE-Tag: 1620670412-109460 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 10/05/21 19:57, Sean Christopherson wrote: > +Paolo > > On Mon, May 10, 2021, Jason Gunthorpe wrote: >> On Mon, May 10, 2021 at 04:55:39PM +0200, Daniel Vetter wrote: >> >>> yeah vfio is still broken for the case I care about. I think there's >>> also some questions open still about whether kvm really uses >>> mmu_notifier in all cases correctly, >> >> IIRC kvm doesn't either. > > Yep, KVM on x86 has a non-trivial number of flows that don't properly hook into > the mmu_notifier. Paolo is working on fixing the problem, but I believe the > rework won't be ready until 5.14. Yeah, I like the way it's coming, but I'm at 20-ish patches and counting. Paolo