Re: [PATCH 0/9] Allow persistent memory to be used like normal RAM

From: Dave Hansen
Date: Fri Oct 26 2018 - 09:58:13 EST


On 10/26/18 1:03 AM, Xishi Qiu wrote:
> How about let the BIOS report a new type for kmem in e820 table?
> e.g.
> #define E820_PMEM 7
> #define E820_KMEM 8

It would be best if the BIOS just did this all for us. But, what you're
describing would take years to get from concept to showing up in
someone's hands. I'd rather not wait.

Plus, doing it the way I suggested gives the OS the most control. The
BIOS isn't in the critical path to do the right thing.