diff options
author | Dan Williams <dan.j.williams@intel.com> | 2019-02-06 05:04:53 +0300 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2019-02-12 21:37:16 +0300 |
commit | 11a358109e0c48fa74f27e750dde4d25de4d5fc3 (patch) | |
tree | 74dbf2f208cf107669a0f5d515e3ec8962435d37 /drivers/nvdimm/dimm.c | |
parent | 07464e88365e9236febaca9ed1a2e2006d8bc952 (diff) | |
download | linux-11a358109e0c48fa74f27e750dde4d25de4d5fc3.tar.xz |
libnvdimm/pfn: Account for PAGE_SIZE > info-block-size in nd_pfn_init()
Similar to "libnvdimm: Fix altmap reservation size calculation" provide
for a reservation of a full page worth of info block space at info-block
establishment time. Typically there is already slack in the padding
from honoring the default 2MB alignment, but provide for a reservation
for corner case configurations that would otherwise fit.
Cc: Oliver O'Halloran <oohall@gmail.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/nvdimm/dimm.c')
0 files changed, 0 insertions, 0 deletions