Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp7239312imu; Mon, 3 Dec 2018 09:43:52 -0800 (PST) X-Google-Smtp-Source: AFSGD/Xpib/t4ohOdaJ2wlMwjXiAbIsusDrEuVrNS4lEDouLmb20OJBqfVBpQRMX4aAU9P9CsP7i X-Received: by 2002:a63:5026:: with SMTP id e38mr14049962pgb.123.1543859032682; Mon, 03 Dec 2018 09:43:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543859032; cv=none; d=google.com; s=arc-20160816; b=IvDh3p4S5RcU2dVDjLtiWsqd2nQsMP1wl3Ut9KCCWGkw8JIKsIYQfAyV62UPfWcLbt ZLxyHI6O1IV7rDIPuiFFSAzSyBoRigQqsOSp9771nVCeZnjpNccM+HHewf8MBdZilmT3 MkDDEWvZzm3w2A+YgAzxjAszxJ+IV53uuihOBioiuoGti9lIMI5I+fPFKSoU7eI/dNk2 mi+agrLcGU7v1Oo5KLFjLbAOheGZGWRUXXFQeDOHt4+uZINW1/99ULmhPET1N2vyJQHK LgTaY0dGPEjXTb+Wnc12OY/Cx7T8+OUasEPHzqK4mkFBaAgILUsBiuC86rtGRYB27hIu k3bQ== 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 :dkim-signature; bh=BgEaxCO/470PEVlbeluTKHTbaxmkta1dSRL0CqOJKW0=; b=JSBCkt62YyXAIdLw2nZe3K+MTE8uJ+qVWsFvDjlihU2h2kOBjzqasth+TBQdj04SBE m2CPB0K2R8NthDx6228Uwhg/HnaYvQJMWbBLZvfWxgSypceBZiAC++ZkUPnuRPi9jt2V qY7jdKjsSuIvSla+1uC1XiHcXAr19NEmULrKKD5u5E00sd4CdsrBz9vYMocj7DrdjsXG 8AiSB25D0FOtaF29HcGhwyV1IphlPy3SiEXIkLvvO2lOxnO2iXKXNJc2huEPtjD+tlMW V8gUuORaf2dkkhoZtWFhbYVbFDu1G5UE22X1XqZF3LDHBYDiRx/oimnS+Z1k9r9ELI7U sWnw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=bT9GXCy9; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y29si13361899pgk.376.2018.12.03.09.43.36; Mon, 03 Dec 2018 09:43:52 -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; dkim=pass header.i=@google.com header.s=20161025 header.b=bT9GXCy9; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726752AbeLCRlG (ORCPT + 99 others); Mon, 3 Dec 2018 12:41:06 -0500 Received: from mail-pl1-f196.google.com ([209.85.214.196]:39255 "EHLO mail-pl1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726014AbeLCRlF (ORCPT ); Mon, 3 Dec 2018 12:41:05 -0500 Received: by mail-pl1-f196.google.com with SMTP id 101so6823216pld.6 for ; Mon, 03 Dec 2018 09:40:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=BgEaxCO/470PEVlbeluTKHTbaxmkta1dSRL0CqOJKW0=; b=bT9GXCy999iFGDnhUMyg8ueoUF0syZGQWV+OjFV02R5yJE6lZH4++lr6elly5LYQeH AB5+g5qyalzIbBdaLmquTvrNxSvpeFrYOObuhuDSWhTCws3HjhFTMDUvOGVdYBYaaYv5 KdB2HPZGlIJguL1vgTxBb28H6RRxbWHk81ykwo4Rlzsf/ieP+DvLVUgUDx3soJzG5wKo 3LBtkkOXETRsfmowt6K+Kb9YXs6MVZjj+H3vBQk1TnoALDbPGLiGhItG11nOBDcEgJSV XR6gu59T9TOAayFz6GH77TZchfT10cFlFzsLNfsIUjPUvY6SJ2jDw7fSjtBaNt6avx46 ogzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=BgEaxCO/470PEVlbeluTKHTbaxmkta1dSRL0CqOJKW0=; b=U0AUTqU9RbcycoUU0J8Mnp+caUChXIo69p2xEzrrUWq39iptZYlToPbTWj6kzc/uh4 ayzcqBBLWmoZdDtPejBGEhnEqDDpUpRpIWFQx4cFZUFKBN3b+gs/bnODrvW6gR+VLlWp aAJqmZ01XAmPEhAYLuKKQfH9UzpkDy6bC2TBoMecgVVKoXtag+e8BHMLdYRR/Pl6sWGF VI1Yxgla7Mmfbnmhrknh46B11JoaEpWuMqImJuVi1Tng8Auq37bTg8D+aL6mnAWnkclW wJdKPzinjJBVD8uNqHDTJtebF+xbQHoodKnzvUeU+PtZ4HYLz7Ijp+wfaqkW1/C/M8KI kD5g== X-Gm-Message-State: AA+aEWaKtSxI5Awy+9HG7JfkW6PQ5CLfDnTxwOsv0go/ooVgLHsMqVd4 ls9nHWG+JJpspxGUPBGt0SfUfg== X-Received: by 2002:a17:902:20c6:: with SMTP id v6mr17101855plg.156.1543858857489; Mon, 03 Dec 2018 09:40:57 -0800 (PST) Received: from gnomeregan.cam.corp.google.com ([2620:15c:6:14:ad22:1cbb:d8fa:7d55]) by smtp.gmail.com with ESMTPSA id z62sm22014544pfi.4.2018.12.03.09.40.55 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 03 Dec 2018 09:40:57 -0800 (PST) Date: Mon, 3 Dec 2018 12:40:51 -0500 From: Barret Rhoden To: Dan Williams Cc: Dave Jiang , zwisler@kernel.org, Vishal L Verma , Paolo Bonzini , rkrcmar@redhat.com, Thomas Gleixner , Ingo Molnar , Borislav Petkov , linux-nvdimm , Linux Kernel Mailing List , "H. Peter Anvin" , X86 ML , KVM list , "Zhang, Yu C" , "Zhang, Yi Z" , alexander.h.duyck@linux.intel.com Subject: Re: [PATCH v2 0/3] kvm: Use huge pages for DAX-backed files Message-ID: <20181203124051.05c1d2ce@gnomeregan.cam.corp.google.com> In-Reply-To: References: <20181109203921.178363-1-brho@google.com> <20181114215155.259978-1-brho@google.com> X-Mailer: Claws Mail 3.16.0 (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 2018-11-14 at 16:55 Dan Williams wrote: > [ add Alex who is looking into removing PageReserved for DAX pages. ] Thanks. I can keep my eye out for his patches and repost once that's done. Alternatively, if you all want to merge this before the PageReserved / DAX changes, then I can repost - just Ack/Review tags. It's harmless with the existing PageReserved behavior. Thanks, Barret > On Wed, Nov 14, 2018 at 1:53 PM Barret Rhoden wrote: > > > > This patch series depends on dax pages not being PageReserved. Once > > that is in place, these changes will let KVM use huge pages with > > dax-backed files. Without the PageReserved change, KVM and DAX still > > work with these patches, simply without huge pages - which is the > > current situation. > > > > RFC/discussion thread: > > https://lore.kernel.org/lkml/20181029210716.212159-1-brho@google.com/ > > > > v1 -> v2: > > https://lore.kernel.org/lkml/20181109203921.178363-1-brho@google.com/ > > > > - Updated Acks/Reviewed-by > > - Minor touchups > > - Added patch to remove redundant PageReserved() check > > - Rebased onto linux-next > > > > > > Barret Rhoden (3): > > mm: make dev_pagemap_mapping_shift() externally visible > > kvm: Use huge pages for DAX-backed files > > kvm: remove redundant PageReserved() check > > > > arch/x86/kvm/mmu.c | 33 +++++++++++++++++++++++++++++++-- > > include/linux/mm.h | 3 +++ > > mm/memory-failure.c | 38 +++----------------------------------- > > mm/util.c | 34 ++++++++++++++++++++++++++++++++++ > > virt/kvm/kvm_main.c | 8 ++------ > > 5 files changed, 73 insertions(+), 43 deletions(-) > > > > -- > > 2.19.1.1215.g8438c0b245-goog > >