Received: by 2002:ac0:8c9a:0:0:0:0:0 with SMTP id r26csp33386ima; Thu, 31 Jan 2019 11:57:57 -0800 (PST) X-Google-Smtp-Source: ALg8bN72qFhuU+k7/qNfBk9QHd9yRr6bGxHdCWpv2hK0seuOLaRr5OpWj3Q1pZG94kEx/BMb2fbX X-Received: by 2002:a63:df50:: with SMTP id h16mr33127639pgj.421.1548964677196; Thu, 31 Jan 2019 11:57:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548964677; cv=none; d=google.com; s=arc-20160816; b=B6bImt3XzMkY87peMlJtuT2EG/GC6iX5KAAO7yxdYwwLIdqZ5I7t0UAis4Z1R9wG2q eSB8IoTpgO0ZljXmeV0oTk3wX9VFC+Zl2bJOTCoIABY9wVfEtliCdnI8yE6lfKeZm6Et 55J0AkHMazQnd6Mt7THZtVRV/TxWGZ/98dqa33L5plG1tdh2FnV4sB0XDSHoXqjbIF5a x0D9P0ZQr7xVfvAUmdSn0ZUcqO/Ky8ZuqPNgs9MkZGw04gr8EHfrI4PBguHPJEB44XJv WICgV6nbZMVY9HGbF1SjmE/a8EFVjspoSoI3Rca1UvLaiW2rqrEAkdqz1Q0LKcsPPDhr DoGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=asfArH7nqCXWTRXX1DsBQXvzmYJcN03p8udwXQ78NS8=; b=k3kP1oDXMMDzoc+X5GPFbpoA+b6kq4yi6cV38sY1+dwzEJg7gW3D0xqwRHv2ONOvL9 4l6uF3UYxjYdPS0fJWiMgovQpiwGrjP8t6HcAT/kYTT9y1tPpj/fCP6ldRz1Ra6IkFNK tqd9oeapmn//Z+2oxeHvErQmydnYxVowG3wvjzt+bmqiqK6NxTKfSc7fturcJN6iSQ08 Xv1C0IQGkFcv28IzdbdwVCDE2sI+6rGvqv7KCihOEotgN8KQpB4YU65EyrZKL6yGlScl Hy+Xok0Jt5ytIoKnu98YN0/mxSCCGwakpH57HudygS9UMQxrCcl1JHP8SdrCTMFUDwGt 6ugg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r18si5042299pgo.9.2019.01.31.11.57.40; Thu, 31 Jan 2019 11:57:57 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727308AbfAaTzj (ORCPT + 99 others); Thu, 31 Jan 2019 14:55:39 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:41754 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725807AbfAaTzi (ORCPT ); Thu, 31 Jan 2019 14:55:38 -0500 Received: from localhost.localdomain (c-73-223-200-170.hsd1.ca.comcast.net [73.223.200.170]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id B13464860; Thu, 31 Jan 2019 19:55:36 +0000 (UTC) Date: Thu, 31 Jan 2019 11:55:35 -0800 From: Andrew Morton To: Jerome Glisse Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, Christian =?ISO-8859-1?Q?K=F6nig?= , Jan Kara , Felix Kuehling , Jason Gunthorpe , Matthew Wilcox , Ross Zwisler , Dan Williams , Paolo Bonzini , Radim =?UTF-8?Q?Kr=C4=8Dm=C3=A1=C5=99?= , Michal Hocko , Ralph Campbell , John Hubbard , kvm@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-rdma@vger.kernel.org, linux-fsdevel@vger.kernel.org, Arnd Bergmann Subject: Re: [PATCH v4 0/9] mmu notifier provide context informations Message-Id: <20190131115535.7eeecf501615f8bad2f139eb@linux-foundation.org> In-Reply-To: <20190131161006.GA16593@redhat.com> References: <20190123222315.1122-1-jglisse@redhat.com> <20190131161006.GA16593@redhat.com> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 31 Jan 2019 11:10:06 -0500 Jerome Glisse wrote: > Andrew what is your plan for this ? I had a discussion with Peter Xu > and Andrea about change_pte() and kvm. Today the change_pte() kvm > optimization is effectively disabled because of invalidate_range > calls. With a minimal couple lines patch on top of this patchset > we can bring back the kvm change_pte optimization and we can also > optimize some other cases like for instance when write protecting > after fork (but i am not sure this is something qemu does often so > it might not help for real kvm workload). > > I will be posting a the extra patch as an RFC, but in the meantime > i wanted to know what was the status for this. The various drm patches appear to be headed for collisions with drm tree development so we'll need to figure out how to handle that and in what order things happen. It's quite unclear from the v4 patchset's changelogs that this has anything to do with KVM and "the change_pte() kvm optimization" hasn't been described anywhere(?). So.. I expect the thing to do here is to get everything finished, get the changelogs completed with this new information and do a resend. Can we omit the drm and rdma patches for now? Feed them in via the subsystem maintainers when the dust has settled?