Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp2142843ybi; Thu, 18 Jul 2019 04:05:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqxexrUCoFewF8ZhzSzAZNLl2mfVz07sOzQjnEUEq7zZFWLWCjJiPWBMbU+b6g0C/16KZVcn X-Received: by 2002:a63:5d45:: with SMTP id o5mr47619983pgm.40.1563447917947; Thu, 18 Jul 2019 04:05:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563447917; cv=none; d=google.com; s=arc-20160816; b=aTQ7P6AP8lawWWEMONph0pfK3jNs8xUqKZm9IYzvdjWn0MQOWICEaN9I00B5hpA1FZ 8lnetwy4VmIQbhBb/M5yklxRfMUSKN1aroloEW8qICakGCXEKkPIwFS017mgbTSYpDLi ZmC8J8IVzCJBpeGxoDoTOnV4uwk0ay1JNKHJcyyExzHdj/TjO+GtnyodE9SBWJA6TU1R GVpDSr5JeFrjhPrHtjd823bMh3mbhXdXrS6aEnYP5wLnkSSbKVne5RyE2NrIJbajBpWh MUIvvKo9qggdEY3mllKcIqJJz+NOD2LIKzNI+OQA9W8yKtxy+rRT02tt8e2fFVjeSpMs I/jg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=DBv28uUWucv+cpCMKBZBbJSYqn9qCk7kmVDxU47irTg=; b=pV4JwRsauoJkn6z84UkGojz46XSTp/JspGSx/9vON8RNcxalikWBnzoCB2sc4gOt+3 3eIuNITG9Z+iGVSCYH24R5n88/oalD3QHlV2r6vNBrXLlP0IwC79M6V0aOE69E6aegz+ IvjedYp6u+l0jaXbXR6P/0NvHYdmPfcr1fU1j1jHJ86sypSa4wa4ZUIcpuCimG5SyYdU KuxMC1nEQ7LDZkRVntYIJoEgxrOS8j6kl1EpT+hg7LUxT9pY6h40GU9W8TN8g3vzLAWs SuU09a4KpdELAuK//k3c9+drCy1OpgfAruFRgsy08cn4ML9w0k6lAZWRGYy4Y1RPUYf4 XIGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=O9BvDgFL; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m186si1883427pgm.423.2019.07.18.04.04.58; Thu, 18 Jul 2019 04:05:17 -0700 (PDT) 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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=O9BvDgFL; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727813AbfGRLEK (ORCPT + 99 others); Thu, 18 Jul 2019 07:04:10 -0400 Received: from mail-yw1-f67.google.com ([209.85.161.67]:34083 "EHLO mail-yw1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726482AbfGRLEK (ORCPT ); Thu, 18 Jul 2019 07:04:10 -0400 Received: by mail-yw1-f67.google.com with SMTP id q128so12052351ywc.1 for ; Thu, 18 Jul 2019 04:04:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=DBv28uUWucv+cpCMKBZBbJSYqn9qCk7kmVDxU47irTg=; b=O9BvDgFLqQrmpCO2W4J+8cB8nWua67KNs9q4UuWvJpvBRikX2pS5wMqFn0URKq7xfK p4AaAUyBAx5as42WMu1ZghUuulE7KzBVPB2p92ezKKp/mqZg4p7JI/GswsTtGE78k8Y+ S4i9GJYIovxggHejdcivgBTeoxawA578//2AIxA8c1hmOiKUSWONWke3CBiO9XQ5dSu5 YfY48Js6zuY0Lb3gTB9WCo03kjw4n0oFUVOWrEnRt6Ha56SydXoLgseH8KMxztnyeIRy aY/VekKkoGKSDKqVbUcF8D9dFAsdBpJ3faC2OqCuCCO5F0h5Rlp8M8AtgF6NyDfVoJkR V5lA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=DBv28uUWucv+cpCMKBZBbJSYqn9qCk7kmVDxU47irTg=; b=GErRxmTFfpDuNhor3Iw8M93Ub2YBfyp6TeBodlWjvfcfnmM3MhcqBK3dj1Lfo5n7PJ eXsZkHtXeqfBE8jI4xefMqeE+BZGjIFv7n3Zvg71KkZv74kYLFCylrZlKEAP1pd+666P ATL3TyUHL8vU8vzWPQimKzz957BlqjviwF/I6n7g5VI3UwDpPKIHwLV/iGTl/H1Oajns PagLRfPYTnw44ezhIZmeGU5/ejuKhyEb4n+NbN3Fqh++1/CuAjZg7eqEpCo5hAmsvEhb 9TRw3IloFvLGzPUTRe2824m2YcTU1c9ZOsSCHc9CkPmNomj7l7je1i3SVmukVviOBdmB ksmg== X-Gm-Message-State: APjAAAWbZiQH0CbJRwDSwnVQGTqAqnkhJn+kvUriVtQuS0I0lJkx9sl5 mejPWXSSzeMJenHOJkj0x8Kc0umo769o1jdoLzw= X-Received: by 2002:a0d:c943:: with SMTP id l64mr27778395ywd.320.1563447848948; Thu, 18 Jul 2019 04:04:08 -0700 (PDT) MIME-Version: 1.0 References: <20190717074124.GA21617@amd> In-Reply-To: <20190717074124.GA21617@amd> From: Balbir Singh Date: Thu, 18 Jul 2019 21:03:57 +1000 Message-ID: Subject: Re: HMM_MIRROR has less than useful help text To: Pavel Machek Cc: =?UTF-8?B?SsOpcsO0bWUgR2xpc3Nl?= , Evgeny Baskakov , John Hubbard , Mark Hairgrove , Sherry Cheung , Subhash Gutti , Aneesh Kumar KV , Benjamin Herrenschmidt , Dan Williams , David Nellans , Johannes Weiner , "Kirill A. Shutemov" , Michal Hocko , "Paul E. McKenney" , Ross Zwisler , Vladimir Davydov , Bob Liu , "akpm@linux-foundation.org" , Linus Torvalds , kernel list Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 17, 2019 at 5:41 PM Pavel Machek wrote: > > Hi! > > Commit c0b124054f9e42eb6da545a10fe9122a7d7c3f72 has very nice commit > message, explaining what HMM_MIRROR is and when it is > needed. Unfortunately, it did not make it into Kconfig help: > > CONFIG_HMM_MIRROR: > > Select HMM_MIRROR if you want to mirror range of the CPU page table of > a > process into a device page table. Here, mirror means "keep > synchronized". > Prerequisites: the device must provide the ability to write-protect > its > page tables (at PAGE_SIZE granularity), and must be able to recover > from > the resulting potential page faults. > > Could that be fixed? > > This is key information for me: > > # This is a heterogeneous memory management (HMM) process address space > # mirroring. > # This is useful for NVidia GPU >= Pascal, Mellanox IB >= mlx5 and more > # hardware in the future. > That seems like a reasonable request Balbir > Thanks, > Pavel > -- > (english) http://www.livejournal.com/~pavelmachek > (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html