+151
−34
Loading
Previously, if the user registered memory twice the mem maps would get notified both times. Instead, reference count the registrations. Change-Id: I3f5cbf9e9320c2f4491ec8a5892c1f83cce41706 Signed-off-by:Ben Walker <benjamin.walker@intel.com> Reviewed-on: https://review.gerrithub.io/375639 Reviewed-by:
Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Tested-by:
SPDK Automated Test System <sys_sgsw@intel.com>