commit | 0093df80d754e1a05b016e5a4ccd4b51a00c562c | [log] [tgz] |
---|---|---|
author | Stefan Agner <stefan@agner.ch> | Mon Aug 08 00:01:44 2016 -0700 |
committer | Will Deacon <will.deacon@arm.com> | Tue Aug 09 10:20:59 2016 +0100 |
tree | c05630d5e16d80df6f0df0344b6c03108e31651c | |
parent | c1c33b44b75cd61e69193d56161fb290fe7b732a [diff] |
kvmtool: ARM: madvise mergeable and hugepage separately The madvise behavior is not a bit field and hence can not be or'ed. Also madvise_behavior_valid checks the flag using a case statement hence only one behavior is supposed to be supplied. Call madvise twice, once for MERGEABLE and once for HUGEPAGE. Acked-by: Andre Przywara <andre.przywara@arm.com> Signed-off-by: Stefan Agner <stefan@agner.ch> Signed-off-by: Will Deacon <will.deacon@arm.com>