Re: [PATCH RFC 03/21] physmem: Add qemu_ram_is_hugetlb()

2023-01-29 Thread Juan Quintela
Peter Xu wrote: > Returns true for a hugetlbfs mapping, false otherwise. > > Signed-off-by: Peter Xu Reviewed-by: Juan Quintela

Re: [PATCH RFC 03/21] physmem: Add qemu_ram_is_hugetlb()

2023-01-18 Thread Dr. David Alan Gilbert
* Peter Xu (pet...@redhat.com) wrote: > Returns true for a hugetlbfs mapping, false otherwise. > > Signed-off-by: Peter Xu Yeh OK, it feels a little delecate perhaps if anything else ever allows large mappings. Reviewed-by: Dr. David Alan Gilbert > --- > include/exec/cpu-common.h | 1 + > s

[PATCH RFC 03/21] physmem: Add qemu_ram_is_hugetlb()

2023-01-17 Thread Peter Xu
Returns true for a hugetlbfs mapping, false otherwise. Signed-off-by: Peter Xu --- include/exec/cpu-common.h | 1 + softmmu/physmem.c | 5 + 2 files changed, 6 insertions(+) diff --git a/include/exec/cpu-common.h b/include/exec/cpu-common.h index 6feaa40ca7..94452aa17f 100644 --- a/