When memory is allocated on a wrong node, MPOL_MF_STRICT
doesn't move it - it just fails the allocation.
A simple way to reproduce the failure is with mlock=on
realtime feature.
The code comment actually says: "ensure policy won't be ignored"
so setting MPOL_MF_MOVE seems like a better way to do this.
Cc: qemu-stable@nongnu.org
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| Makefile.objs | ||
| baum.c | ||
| hostmem-file.c | ||
| hostmem-ram.c | ||
| hostmem.c | ||
| msmouse.c | ||
| rng-egd.c | ||
| rng-random.c | ||
| rng.c | ||
| tpm.c | ||