Re: [PATCH 0/2] replace sysconf(_SC_PAGESIZE) with qemu_real_host_page_size
On Tue, Oct 15, 2019 at 11:13:48AM +0800, Wei Yang wrote: >This is a following up patch to cleanup page size, suggested by >"Dr. David Alan Gilbert" . > >Patch 2 does the job, while during the cleanup I found test-mmap.c has quite a >lot code style problem. To make the code looks good, patch 1 is introduced to >make checkpatch.pl happy a little. Does this patch set look good? > >Wei Yang (2): > tests/tcg/multiarch: fix code style in function main of test-mmap.c > core: replace sysconf(_SC_PAGESIZE) with qemu_real_host_page_size > > block/file-posix.c | 2 +- > net/l2tpv3.c| 2 +- > tests/tcg/multiarch/test-mmap.c | 67 ++--- > 3 files changed, 38 insertions(+), 33 deletions(-) > >-- >2.17.1 > -- Wei Yang Help you, Help me
[PATCH 0/2] replace sysconf(_SC_PAGESIZE) with qemu_real_host_page_size
This is a following up patch to cleanup page size, suggested by "Dr. David Alan Gilbert" . Patch 2 does the job, while during the cleanup I found test-mmap.c has quite a lot code style problem. To make the code looks good, patch 1 is introduced to make checkpatch.pl happy a little. Wei Yang (2): tests/tcg/multiarch: fix code style in function main of test-mmap.c core: replace sysconf(_SC_PAGESIZE) with qemu_real_host_page_size block/file-posix.c | 2 +- net/l2tpv3.c| 2 +- tests/tcg/multiarch/test-mmap.c | 67 ++--- 3 files changed, 38 insertions(+), 33 deletions(-) -- 2.17.1