diff options
author | Pierre Pfister <ppfister@cisco.com> | 2017-04-20 15:34:00 +0200 |
---|---|---|
committer | Damjan Marion <dmarion.lists@gmail.com> | 2017-04-26 19:36:35 +0000 |
commit | bed5489a4eb109efe91dac8d259a03b1834b0db8 (patch) | |
tree | 0bc56522a396ac336da14869b5dd5aba9fd09b3b /extras/vagrant | |
parent | 5ef1fef692182dabc986995390d46552d88fb9df (diff) |
vhost: Fix mmap size calculation
I had a bug where a requested size of 1G was resulting in
an aligned size of '1G + 2M', resulting in an OOM error.
Previous code was adding one huge page size
when memory is already aligned.
Change-Id: Idd3aa0e9b893fb3efccba6ae1c7161e26d3f9456
Signed-off-by: Pierre Pfister <ppfister@cisco.com>
Diffstat (limited to 'extras/vagrant')
0 files changed, 0 insertions, 0 deletions