Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp4037457imb; Wed, 6 Mar 2019 03:48:39 -0800 (PST) X-Google-Smtp-Source: APXvYqxLYxhT9efsPIgjbNqOFqMCS8Y7av4/XbjUIP+scAlQD1RI+NDbIQ2Bb4ElbdImY0AWm+EI X-Received: by 2002:a17:902:5e3:: with SMTP id f90mr2234036plf.141.1551872919687; Wed, 06 Mar 2019 03:48:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551872919; cv=none; d=google.com; s=arc-20160816; b=E6P0YfwRkIVpyyywxzyUPxHcVqvwXKBdRDbAM3vITSXoLkeca20+drMHPSPAAd1bIX Cm0fSMnDLajRKXw3S2nY3Eq2S1g1BrOo6434RwJGHe5H/MeaVP2ZmtcbrJmeIqv3Gp53 ESQDDd/BCdiOHQPVAtmux75Q1FuGiz6yRUwJyoepbdZf0Z6XjibL8iRAoLgOv85zLHsY H3X1QgDmnDNrh6jX9IJGzeBm3GuzaCd7COvtYNfe0+Ngfem3P/zoN+GIKMYUo21DKvWQ OHAsCGJ+ocoaKbSLtON4Mw6EilkvLleP0aXb3ptuUVP9oBXacSHLoKOjZdpqb+eDwDEr /PCQ== 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=8YfZSnQB+LVGFyraNiu3foi3/Wiq/19xgJ3IqcCf2/0=; b=qP4ku9kIttXpJNyL/yqlDK+W5aY6EVXP5ciw9aPW5X6fZmwc2M5Dl3yeUjtVU7OJMF CvW99DfjrwhyhOHETrwLqFFZX3QxCpAvWeo3HaisYhGwXllpNYDEq+a+ZWx+bppZueMA 1RmntMu7D2IoRRw8AqhhiHCfFMv+Snq3BEFH+enD0bIRtENx5pRmRhvyJNnbeE2HY/Yj E9AaPTbsYks2pYupdfPCOH0io9WRyn+LJKTgblkv+z7PbiI2mPBF6cSELw1Mgg5djbe5 9YKvvUm6c1zHNG8HKjM27nnifAeRZrGZsVllCp1N7bPHROQqMeHLjmdWXRFkodJzD+sP N3MQ== 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 5si1270043pgt.222.2019.03.06.03.48.24; Wed, 06 Mar 2019 03:48:39 -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 S1729434AbfCFLo5 (ORCPT + 99 others); Wed, 6 Mar 2019 06:44:57 -0500 Received: from mx2.suse.de ([195.135.220.15]:55610 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728438AbfCFLo5 (ORCPT ); Wed, 6 Mar 2019 06:44:57 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 13F9DB12F; Wed, 6 Mar 2019 11:44:56 +0000 (UTC) Date: Wed, 6 Mar 2019 12:44:53 +0100 From: Michal =?UTF-8?B?U3VjaMOhbmVr?= To: "Aneesh Kumar K.V" Cc: Dan Williams , Oliver , Jan Kara , linux-nvdimm@lists.01.org, Linux Kernel Mailing List , Linux MM , Ross Zwisler , Andrew Morton , linuxppc-dev , "Kirill A . Shutemov" Subject: Re: [PATCH 2/2] mm/dax: Don't enable huge dax mapping by default Message-ID: <20190306124453.126d36d8@naga.suse.cz> In-Reply-To: <87k1hc8iqa.fsf@linux.ibm.com> References: <20190228083522.8189-1-aneesh.kumar@linux.ibm.com> <20190228083522.8189-2-aneesh.kumar@linux.ibm.com> <87k1hc8iqa.fsf@linux.ibm.com> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-suse-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 Wed, 06 Mar 2019 14:47:33 +0530 "Aneesh Kumar K.V" wrote: > Dan Williams writes: > > > On Thu, Feb 28, 2019 at 1:40 AM Oliver wrote: > >> > >> On Thu, Feb 28, 2019 at 7:35 PM Aneesh Kumar K.V > >> wrote: > Also even if the user decided to not use THP, by > echo "never" > transparent_hugepage/enabled , we should continue to map > dax fault using huge page on platforms that can support huge pages. Is this a good idea? This knob is there for a reason. In some situations having huge pages can severely impact performance of the system (due to host-guest interaction or whatever) and the ability to really turn off all THP would be important in those cases, right? Thanks Michal