diff mbox

[ndctl] ndctl: update readme for vmalloc() based nfit_test

Message ID 146705265796.37678.13860374642984087356.stgit@dwillia2-desk3.amr.corp.intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Dan Williams June 27, 2016, 6:37 p.m. UTC
In v4.8 when we have vmalloc() based nfit_test the test configuration no
longer requires a CMA allocation.  While we're updating the document,
also refresh the configuration variables.

Reported-by: Yigal Korman <yigal@plexistor.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
 README.md |   16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)
diff mbox


diff --git a/README.md b/README.md
index 76f93dafe4cb..a3def786f188 100644
--- a/README.md
+++ b/README.md
@@ -26,19 +26,25 @@  loaded.  To build and install nfit_test.ko:
 `git clone -b libnvdimm-for-next
-2. Configure the kernel to make some memory available to CMA (contiguous
-   memory allocator).
-This will be used to emulate DAX.  
+2. Skip to step 3 if the kernel version is >= v4.8.  Otherwise, for
+   kernel versions < v4.8, configure the kernel to make some memory
+   available to CMA (contiguous memory allocator). This will be used to
+   emulate DAX.  
 `cma=200M` on the kernel command line.  
-3. Compile all components of the libnvdimm sub-system as modules:  
+3. Compile the libnvdimm sub-system as a module, make sure "zone device"
+   memory is enabled, and enable the btt, pfn, and dax features of the
+   sub-system:  
 4. Build and install the unit test enabled libnvdimm modules in the
    following order.  The unit test modules need to be in place prior to