From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8D771CA9EA0 for ; Fri, 18 Oct 2019 20:50:19 +0000 (UTC) Received: from ml01.01.org (ml01.01.org [198.145.21.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 693E521D7C for ; Fri, 18 Oct 2019 20:50:19 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 693E521D7C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-nvdimm-bounces@lists.01.org Received: from new-ml01.vlan13.01.org (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 9177210FCB920; Fri, 18 Oct 2019 13:52:24 -0700 (PDT) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=192.55.52.93; helo=mga11.intel.com; envelope-from=vishal.l.verma@intel.com; receiver= Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 0046510FCB91D for ; Fri, 18 Oct 2019 13:52:21 -0700 (PDT) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Oct 2019 13:50:16 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.67,313,1566889200"; d="scan'208";a="208985818" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by fmsmga001.fm.intel.com with ESMTP; 18 Oct 2019 13:50:16 -0700 Received: from FMSMSX109.amr.corp.intel.com (10.18.116.9) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 18 Oct 2019 13:50:16 -0700 Received: from fmsmsx114.amr.corp.intel.com ([169.254.6.30]) by FMSMSX109.amr.corp.intel.com ([169.254.15.66]) with mapi id 14.03.0439.000; Fri, 18 Oct 2019 13:50:15 -0700 From: "Verma, Vishal L" To: "Williams, Dan J" Subject: Re: [ndctl PATCH 08/10] Documentation: clarify memory movablity for reconfigure-device Thread-Topic: [ndctl PATCH 08/10] Documentation: clarify memory movablity for reconfigure-device Thread-Index: AQHVeXwNJqXMUbYruUm0ajWxHeyxPKdhbLkAgAAA7wA= Date: Fri, 18 Oct 2019 20:50:14 +0000 Message-ID: <9960b57e259cca31715326bbe8b4da5ec3cae100.camel@intel.com> References: <20191002234925.9190-1-vishal.l.verma@intel.com> <20191002234925.9190-9-vishal.l.verma@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Evolution 3.30.5 (3.30.5-1.fc29) x-originating-ip: [10.232.112.164] Content-ID: <3036BA1FBE1F0D4F8FFF0058CAD8EDB3@intel.com> MIME-Version: 1.0 Message-ID-Hash: QKPP6YJGO2W3PQJF6MRZ6PWN6JKIWZG6 X-Message-ID-Hash: QKPP6YJGO2W3PQJF6MRZ6PWN6JKIWZG6 X-MailFrom: vishal.l.verma@intel.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header CC: "Olson, Ben" , "linux-nvdimm@lists.01.org" , "dave.hansen@linux.intel.com" , "Biesek, Michal" X-Mailman-Version: 3.1.1 Precedence: list List-Id: "Linux-nvdimm developer list." Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Fri, 2019-10-18 at 13:46 -0700, Dan Williams wrote: > > > +'daxctl-reconfigure-device' nominally expects that it will online new memory > > +blocks as 'movable', so that kernel data doesn't make it into this memory. > > +However, there are other potential agents that may be configured to > > +automatically online new hot-plugged memory as it appears. Most notably, > > +these are the '/sys/devices/system/memory/auto_online_blocks' configuration, > > +or system udev rules. If such an agent races to online memory sections, daxctl > > +checks if the blocks were onlined as 'movable' memory. If this was not the > > +case, and the memory blocks are found to be in a different zone, then a > > +warning is displayed. If it is desired that a different agent control the > > +onlining of memory blocks, and the associated memory zone, then it is > > +recommended to use the --no-online option described below. This will abridge > > +the device reconfiguration operation to just hotplugging the memory, and > > +refrain from then onlining it. > > Oh here's that full description that calls out udev. > > I think just "See daxctl reconfigure-device --help" is sufficient for > those warnings in the previous patch. Yep I've truncated the runtime warning down to point here. _______________________________________________ Linux-nvdimm mailing list -- linux-nvdimm@lists.01.org To unsubscribe send an email to linux-nvdimm-leave@lists.01.org