Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2107858imu; Thu, 17 Jan 2019 08:30:48 -0800 (PST) X-Google-Smtp-Source: ALg8bN5gJOnPq1QcBF0GEnXFxItudVDE998m0UMePxTDG+yLqOTKeVndbhhTcFiXvlvsQceV/omo X-Received: by 2002:a63:c42:: with SMTP id 2mr14125647pgm.372.1547742648852; Thu, 17 Jan 2019 08:30:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547742648; cv=none; d=google.com; s=arc-20160816; b=H3g4WNgUKH/H70+rfy6mPbMT7p/bZoBITDoDTQK+lsvzsetc3u88QXBQh/m9kGj1jA 1eE+R816fhlNWGD8+000gmtGjcvAHWQLN0176fvUTqYynTSTeg3sOdfM8AdjP3+Wk7/F MZzKgiTYtYbZIuMVONU9+rjMMiWV9gUWoODsLeLDLMi3DGcAi2e5av3qfLjxIOdI2XKt 07YX7jVM9aIyGM9FNTgnGy50Rllpsf5H0Uz9fs8M5uz9UzbOhPoYso6N0wm/dPmWSFB6 MesZXqq1/nBS2raBU/ouz78jS8orsPFvsPs5/bvMc2npET/pqTXMr7EDSp1Nm3MSqctz MeaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from; bh=sF4B3kTinlBQONTKYJIx0PSeVWK4itW9iPsPCWk5Cg4=; b=vTbvmGQ5Pqk3bMrDkrXNqsDryl1+fkqEFEctZoFF7qlz7HDclRqu8hXZ3VPBbtl5hs Enbg9tuRw4hWFzlzc+EAI/r0DO3n29H3wsY3J9j7yAj83VPMwhs36HSzFVqLF3WmOULM VLtrp2LKe4PJbChrpdx/10LswHnMwK67R/tf4BWGKuZ698a/A/H4oGgn6cIBUdteKYjk YkexWIFQz4XWyF+rRzU7GS3UyYJh7Tdx2t6qvcUVyYfKq9OeI1gPPlTSPyGC22XMsWmZ ZTjm6My4SvbZH61qq1fWqv7qEdgd3ljlU/IWKIe/8Ir4AP+7+BCIF4cGFD6F/h9SMmhB RuFg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j187si2190811pfg.160.2019.01.17.08.30.32; Thu, 17 Jan 2019 08:30:48 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728741AbfAQQ3N (ORCPT + 99 others); Thu, 17 Jan 2019 11:29:13 -0500 Received: from mx1.redhat.com ([209.132.183.28]:47842 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728562AbfAQQ3N (ORCPT ); Thu, 17 Jan 2019 11:29:13 -0500 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 22911804F8; Thu, 17 Jan 2019 16:29:13 +0000 (UTC) Received: from segfault.boston.devel.redhat.com (segfault.boston.devel.redhat.com [10.19.60.26]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 9CD1C60933; Thu, 17 Jan 2019 16:29:11 +0000 (UTC) From: Jeff Moyer To: Dave Hansen Cc: dave@sr71.net, thomas.lendacky@amd.com, mhocko@suse.com, linux-nvdimm@lists.01.org, tiwai@suse.de, ying.huang@intel.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org, bp@suse.de, baiyaowei@cmss.chinamobile.com, zwisler@kernel.org, bhelgaas@google.com, fengguang.wu@intel.com, akpm@linux-foundation.org Subject: Re: [PATCH 0/4] Allow persistent memory to be used like normal RAM References: <20190116181859.D1504459@viggo.jf.intel.com> X-PGP-KeyID: 1F78E1B4 X-PGP-CertKey: F6FE 280D 8293 F72C 65FD 5A58 1FF8 A7CA 1F78 E1B4 Date: Thu, 17 Jan 2019 11:29:10 -0500 In-Reply-To: <20190116181859.D1504459@viggo.jf.intel.com> (Dave Hansen's message of "Wed, 16 Jan 2019 10:18:59 -0800") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Thu, 17 Jan 2019 16:29:13 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Dave Hansen writes: > Persistent memory is cool. But, currently, you have to rewrite > your applications to use it. Wouldn't it be cool if you could > just have it show up in your system like normal RAM and get to > it like a slow blob of memory? Well... have I got the patch > series for you! So, isn't that what memory mode is for? https://itpeernetwork.intel.com/intel-optane-dc-persistent-memory-operating-modes/ Why do we need this code in the kernel? -Jeff