nova: avoid warnings because of oom handling

Use kernel branch which is more accurate in accounting memory, which avoids
kernel messages of following form:

[0] warning: insufficient resources ...

Fixes #1830
This commit is contained in:
Alexander Boettcher
2015-12-22 11:14:14 +01:00
committed by Christian Helmuth
parent b1b3c7bf34
commit 1d5aa4ca7e
5 changed files with 10 additions and 6 deletions

View File

@ -25,7 +25,7 @@ CC_WARN += -Wframe-larger-than=64
CC_OPT += -mpreferred-stack-boundary=2 -mregparm=3
else
ifeq ($(filter-out $(SPECS),64bit),)
CC_WARN += -Wframe-larger-than=128
CC_WARN += -Wframe-larger-than=144
CC_OPT += -mpreferred-stack-boundary=4 -mcmodel=kernel -mno-red-zone
else
$(error Unsupported environment)