Hi Yue,
To what end? The entire purpose of the library is to allow applications to resume from previously created persistent state.
If you want to use RAM backed pages, just use a pool located in tmpfs. This will enable you to create/debug applications in the absence of dax-enabled file system and real NVDIMMs.
Having said that, I recommend setting up an emulated pmem device with a DAX file system, here's a blog post describing how to do it:
http://pmem.io/2016/02/22/pm-emulation.htmlPiotr