summaryrefslogtreecommitdiffstats
path: root/drivers/nvdimm/dimm.c
diff options
context:
space:
mode:
authorVishal Verma <vishal.l.verma@intel.com>2016-10-01 01:19:30 +0200
committerDan Williams <dan.j.williams@intel.com>2016-10-01 02:03:45 +0200
commitbd697a80c329072b991475fa6608bb0e665b3d90 (patch)
tree9fbdafc9dce374644ef31c24dc87d85216249cbe /drivers/nvdimm/dimm.c
parentnfit: don't start a full scrub by default for an MCE (diff)
downloadlinux-bd697a80c329072b991475fa6608bb0e665b3d90.tar.xz
linux-bd697a80c329072b991475fa6608bb0e665b3d90.zip
pmem: reduce kmap_atomic sections to the memcpys only
pmem_do_bvec used to kmap_atomic at the begin, and only unmap at the end. Things like nvdimm_clear_poison may want to do nvdimm subsystem bookkeeping operations that may involve taking locks or doing memory allocations, and we can't do that from the atomic context. Reduce the atomic context to just what needs it - the memcpy to/from pmem. Cc: Ross Zwisler <ross.zwisler@linux.intel.com> Signed-off-by: Vishal Verma <vishal.l.verma@intel.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