Re: [PATCH v2 1/1] libnvdimm/e820: Add a new parameter to configure many regions per e820 entry

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Michal Clapinski wrote:
> Currently, the user has to specify each memory region to be used with
> nvdimm via the memmap parameter. Due to the character limit of the
> command line, this makes it impossible to have a lot of pmem devices.
> This new parameter solves this issue by allowing users to divide
> one e820 entry into many nvdimm regions.
> 
> This change is needed for the hypervisor live update. VMs' memory will
> be backed by those emulated pmem devices. To support various VM shapes
> I want to create devdax devices at 1GB granularity similar to hugetlb.

Why is it not sufficient to create a region out of a single memmap range
and create multiple 1G dax devices within that single range?

Ira

> 
> It's also possible to expand this parameter in the future,
> e.g. to specify the type of the device (fsdax/devdax).
> 
> Signed-off-by: Michal Clapinski <mclapinski@xxxxxxxxxx>

[snip]




[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux