Message ID | 20181022201332.FC3B5EB7@viggo.jf.intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4395C13BF for <patchwork-linux-mm@patchwork.kernel.org>; Mon, 22 Oct 2018 20:19:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2DEC12916B for <patchwork-linux-mm@patchwork.kernel.org>; Mon, 22 Oct 2018 20:19:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 220222916E; Mon, 22 Oct 2018 20:19:09 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B26E42916B for <patchwork-linux-mm@patchwork.kernel.org>; Mon, 22 Oct 2018 20:19:08 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id E906E6B026B; Mon, 22 Oct 2018 16:18:51 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id E18406B026C; Mon, 22 Oct 2018 16:18:51 -0400 (EDT) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id BF5AE6B026D; Mon, 22 Oct 2018 16:18:51 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from mail-pf1-f199.google.com (mail-pf1-f199.google.com [209.85.210.199]) by kanga.kvack.org (Postfix) with ESMTP id 7E4366B026B for <linux-mm@kvack.org>; Mon, 22 Oct 2018 16:18:51 -0400 (EDT) Received: by mail-pf1-f199.google.com with SMTP id d7-v6so25094962pfj.6 for <linux-mm@kvack.org>; Mon, 22 Oct 2018 13:18:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-original-authentication-results:x-gm-message-state:subject:to:cc :from:date:references:in-reply-to:message-id; bh=2Gi3f2LA/oGqTJGydASbd+W5KL3Fl43s5HZPdgiARrE=; b=PejHfxNEjeGUY5uHWK4r76OZQhXhqyn7sTVqqW5SX7entyvDbdWpjqNTCh6K3dYWVS bCeszUomj3dV78o9EQOItawWZMztaPqo6prUHwRJQPGpxjyOUtAdsFeG73TkR1zOYSlp 9mcmxLljVwtDNcR7HiRj7pkKPEpPGXADKfQZaxspIbHf/mfbFMLdTIyLIuSdkUu4WW3g +ZUvCXfH+AbLayUTMX09UEzl3VrBPwCDAhP2op0PAnhMwrkGuHjfpBkrycEwQ7rnqwbr xrcvXTO8n8dT9e8roCneTJKsjoSZ4+Dnd/mtTlSkolCy9e/atrQ/iUT8eT4aMVCfccuh 53mw== X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of dave.hansen@linux.intel.com designates 134.134.136.31 as permitted sender) smtp.mailfrom=dave.hansen@linux.intel.com; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com X-Gm-Message-State: ABuFfojSwPia11wFOlWLxzhT1eJUTHvhgApV/Gbw1DcTfymbHDap0/2l tD8GqU2cmiBC3w4FbuGnYQdhmVtpLQa8NfimJp1BQPjR4rGafKk7LgaN+oHWWk1zN3igwgVbPGY feJ8X/EjON/U8BZrwMt+2XusPTvFmEM+qP8Xd3u09iLm+cxMtyFepYpWbYBl1Y8bgxw== X-Received: by 2002:a17:902:ceb:: with SMTP id 98-v6mr46836495plt.331.1540239531194; Mon, 22 Oct 2018 13:18:51 -0700 (PDT) X-Google-Smtp-Source: ACcGV61aiofgph8+QVyIroFIPzDY6ujpOt3GCfinwtTo9D0Vv037gKq+A2gK4xvtLk5S84ci5D9k X-Received: by 2002:a17:902:ceb:: with SMTP id 98-v6mr46836474plt.331.1540239530654; Mon, 22 Oct 2018 13:18:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540239530; cv=none; d=google.com; s=arc-20160816; b=YAMlbUyx3uqtu/udeutJ5hgqoNcM9osJxuiMMQUW7k/HDQ1eHSZxLo5DBYBq3r3KA4 aGsdwN5FCzwIYK99E1dq2bKx7Il2S4+S2/At7/9RYSw7fanyZdgPCGLtt+DNhnofzNuX PPErLmG2UreV/0XqrT3f1Y2QGiRm/MX2tigQqKo+6NCx4fPd1A+Q+hOhQWCMxnNjna5D PiACzkYzNdhU4ecS807LiOEc+gFDgn6R+Tp1WMmF+ez0fL8sQPXpY8VOnmmuIYqQhVqv WrsnS4kJR4kWJlSeJkyluhj3W+pZEXO0iorBmC6DMVg0DA8C0ahSaEmto5RYqFUrvYYf vZ4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:in-reply-to:references:date:from:cc:to:subject; bh=2Gi3f2LA/oGqTJGydASbd+W5KL3Fl43s5HZPdgiARrE=; b=Dcftge0gewxmcWmGBqRCUXgjfauzftwUacNQuLyDwYDGHoYt5A82Odz9SYEijLMSYD IBOXivwDirCkGmeGtXR2/uJV/OCUsGfCr7PWN5TtRFPhpzyYDLu0sQREF1c7M9EtZvxL iha8hjf2JEKsDA2lP0J+qFBqvQMcIuUA/dTzCffLGp+XDp6YFJhLPn2iBKzfERkjRcXe VY3xMcZhEqTQrLhE930HB8ijXKnCk7sJMhWSb91SA3chrOgOjyzz1CUrpaiqPzUt21ec xN/CZ+kPedipT50YZB1kCFS7zwjTYOOHTa4/IG25wDTyn5cyeMxtpdJMNpk3n+TzKdf/ P8eA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of dave.hansen@linux.intel.com designates 134.134.136.31 as permitted sender) smtp.mailfrom=dave.hansen@linux.intel.com; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from mga06.intel.com (mga06.intel.com. [134.134.136.31]) by mx.google.com with ESMTPS id c81-v6si37899551pfb.153.2018.10.22.13.18.50 for <linux-mm@kvack.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 22 Oct 2018 13:18:50 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dave.hansen@linux.intel.com designates 134.134.136.31 as permitted sender) client-ip=134.134.136.31; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of dave.hansen@linux.intel.com designates 134.134.136.31 as permitted sender) smtp.mailfrom=dave.hansen@linux.intel.com; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 22 Oct 2018 13:18:50 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,413,1534834800"; d="scan'208";a="102363901" Received: from viggo.jf.intel.com (HELO localhost.localdomain) ([10.54.77.144]) by orsmga002.jf.intel.com with ESMTP; 22 Oct 2018 13:18:50 -0700 Subject: [PATCH 9/9] dax/kmem: actually enable the code in Makefile To: linux-kernel@vger.kernel.org Cc: Dave Hansen <dave.hansen@linux.intel.com>,dan.j.williams@intel.com,dave.jiang@intel.com,zwisler@kernel.org,vishal.l.verma@intel.com,thomas.lendacky@amd.com,akpm@linux-foundation.org,mhocko@suse.com,linux-nvdimm@lists.01.org,linux-mm@kvack.org,ying.huang@intel.com,fengguang.wu@intel.com From: Dave Hansen <dave.hansen@linux.intel.com> Date: Mon, 22 Oct 2018 13:13:32 -0700 References: <20181022201317.8558C1D8@viggo.jf.intel.com> In-Reply-To: <20181022201317.8558C1D8@viggo.jf.intel.com> Message-Id: <20181022201332.FC3B5EB7@viggo.jf.intel.com> X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
Allow persistent memory to be used like normal RAM
|
expand
|
diff -puN drivers/dax/Makefile~dax-kmem-makefile drivers/dax/Makefile --- a/drivers/dax/Makefile~dax-kmem-makefile 2018-10-22 13:12:25.068930384 -0700 +++ b/drivers/dax/Makefile 2018-10-22 13:12:25.071930384 -0700 @@ -2,7 +2,9 @@ obj-$(CONFIG_DAX) += dax.o obj-$(CONFIG_DEV_DAX) += device_dax.o obj-$(CONFIG_DEV_DAX_PMEM) += dax_pmem.o +obj-$(CONFIG_DEV_DAX_PMEM) += dax_kmem.o dax-y := super.o dax_pmem-y := pmem.o +dax_kmem-y := kmem.o device_dax-y := device.o