diff options
author | Stefan Kobza <skobza@cisco.com> | 2016-03-11 15:18:42 +0100 |
---|---|---|
committer | Gerrit Code Review <gerrit@fd.io> | 2016-03-14 03:50:11 +0000 |
commit | ac26da5b53e352850236fb73c60bd2b9c162eb06 (patch) | |
tree | 64c0e29a2ac64a9ec8263781afe19b287abea02a /build-root/emacs-lisp/tunnel-encap-skel.el | |
parent | a5584254fca2d3cbb30a8a7912fa60e363b10a4d (diff) |
Do not use hugepages if none are available.
In case socket-mem was set to <1024 and no 1G page long hupepages were
available, the condition was evaluated in unexpected manner. In other
words use_1g == 1, and that fails later in mount().
This patch makes sure this is prevented - if there are no pages_available,
do not even try to use that pagesize.
Change-Id: I30675aa017d97b99d84d5db926e62f0acb54deb6
Signed-off-by: Stefan Kobza <skobza@cisco.com>
Diffstat (limited to 'build-root/emacs-lisp/tunnel-encap-skel.el')
0 files changed, 0 insertions, 0 deletions