[HMEM] Allow persistent memory to be used like normal RAM

Bug #1730883 reported by Alice Liu on 2017-11-08
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)

Bug Description


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!

This series adds a new "driver" to which pmem devices can be
attached. Once attached, the memory "owned" by the device is
hot-added to the kernel and managed like any other memory. On
systems with an HMAT (a new ACPI table), each socket (roughly)
will have a separate NUMA node for its persistent memory so
this newly-added memory can be selected by its unique NUMA

Target Kernel: 5.1
Target Release: 19.04

Alice Liu (dxliu) on 2017-11-08
information type: Proprietary → Private

Is there a list of commits we should confirm for 18.04?

tags: added: kernel
Changed in intel:
status: New → Incomplete
quanxian (quanxian-wang) on 2018-05-01
description: updated
tags: added: intel-kernel-18.10
Joseph Salisbury (jsalisbury) wrote :

Can we move this bug to the "Linux" package and make it public?

Changed in intel:
importance: Undecided → Medium
status: Incomplete → Triaged
tags: added: kernel-da-key
quanxian (quanxian-wang) on 2018-10-26
description: updated
tags: added: intel-kernel-19.04
removed: intel-kernel-18.10
quanxian (quanxian-wang) on 2019-02-27
description: updated
quanxian (quanxian-wang) wrote :

c221c0b0308f device-dax: "Hotplug" persistent memory for use like normal RAM
2b539aefe9e4 mm/resource: Let walk_system_ram_range() search child resources
2794129e902d mm/memory-hotplug: Allow memory resources to be children
b926b7f3baec mm/resource: Move HMM pr_debug() deeper into resource code
5cd401ace914 mm/resource: Return real error codes from walk failures
c347bd71dcdb device-dax: Add a 'modalias' attribute to DAX 'bus' devices
21c75763a3ae device-dax: Add a 'target_node' attribute
664525b2d84a device-dax: Auto-bind device after successful new_id
8fc5c73554db acpi/nfit, device-dax: Identify differentiated memory with a unique numa-node
730926c3b099 device-dax: Add /sys/class/dax backwards compatibility
d200781ef237 device-dax: Add support for a dax override driver
89ec9f2cfa36 device-dax: Move resource pinning+mapping into the common driver
9567da0b408a device-dax: Introduce bus + driver model
51cf784c42d0 device-dax: Start defining a dax bus model
753a0850e707 device-dax: Remove multi-resource infrastructure
93694f9630b0 device-dax: Kill dax_region base
21b9e979501f device-dax: Kill dax_region ida

summary: - [HMEM] make hotplugged memory a one-way trip with resources
+ [HMEM] Allow persistent memory to be used like normal RAM
description: updated
information type: Private → Public
quanxian (quanxian-wang) wrote :

git tag --contains c221c0b0308f
git tag --contains 2b539aefe9e4
git tag --contains 2794129e902d
git tag --contains b926b7f3baec
git tag --contains 5cd401ace914
git tag --contains c347bd71dcdb
git tag --contains 21c75763a3ae
git tag --contains 664525b2d84a
git tag --contains 8fc5c73554db
git tag --contains 730926c3b099
git tag --contains d200781ef237
git tag --contains 89ec9f2cfa36
git tag --contains 9567da0b408a
git tag --contains 51cf784c42d0
git tag --contains 753a0850e707
git tag --contains 93694f9630b0
git tag --contains 21b9e979501f

Changed in intel:
status: Triaged → Fix Committed
status: Fix Committed → Incomplete
status: Incomplete → Fix Committed
quanxian (quanxian-wang) on 2019-05-07
no longer affects: linux

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1730883

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
tags: added: disco
quanxian (quanxian-wang) wrote :

duplicate with LP#1730872

Changed in intel:
status: Fix Committed → Invalid
Changed in linux (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers