diff options
author | Damjan Marion <damarion@cisco.com> | 2018-10-25 15:56:04 +0200 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2018-10-25 15:21:59 +0000 |
commit | c04e2b06ed8d2038e42b663b9d24ebc8fb719893 (patch) | |
tree | 6fffcb19a906b78c2f1867b7f40fb06395c26225 /src/vppinfra/math.h | |
parent | dc8d35036f1d06193035ff4b6f161f2c1c17c35a (diff) |
pmalloc: don't lock 4K pages if we don't have access to pagemap
Without pagemap access only way to do DMA to physmem is by
using IOMMU. In such case VFIO will take care for preventing
paging of such memory so we don't need to lock here.
Change-Id: Ica9c20659fba3ea3c96202eb5f7d29c43b313fa9
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vppinfra/math.h')
0 files changed, 0 insertions, 0 deletions