Skip to content
Commit 0093df80 authored by Stefan Agner's avatar Stefan Agner Committed by Will Deacon
Browse files

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's avatarAndre Przywara <andre.przywara@arm.com>
Signed-off-by: default avatarStefan Agner <stefan@agner.ch>
Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
parent c1c33b44
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment