Fix hugepage leak on VM termination 90/1590/2
authorShesha Sreenivasamurthy <shesha@cisco.com>
Wed, 15 Jun 2016 20:47:40 +0000 (13:47 -0700)
committerDamjan Marion <damarion@cisco.com>
Thu, 16 Jun 2016 15:11:51 +0000 (15:11 +0000)
commit81f7092d34d9ce2c674fb0ff7683188231d1b773
tree5bdc482bcd91d6a027199af0bed7d856b50d0aec
parentc0959c9c47fe056a35fb33ef70b23087172a54ee
Fix hugepage leak on VM termination

    When VM is terminated, the hugepages mapped
    should be unmapped so that the system does not
    run out of hugepage resources. Therefore, mapped
    pages are unmapped when VPP notices a disconnect.

Change-Id: I7398fb20028036738ab87db0b0e79609e95d69a4
Signed-off-by: Shesha Sreenivasamurthy <shesha@cisco.com>
vnet/vnet/devices/dpdk/dpdk.h
vnet/vnet/devices/dpdk/vhost_user.c