[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH RFC 06/21] madvise: Add QEMU_MADV_COLLAPSE
From: |
Peter Xu |
Subject: |
Re: [PATCH RFC 06/21] madvise: Add QEMU_MADV_COLLAPSE |
Date: |
Wed, 18 Jan 2023 15:21:41 -0500 |
On Wed, Jan 18, 2023 at 06:51:07PM +0000, Dr. David Alan Gilbert wrote:
> * Peter Xu (peterx@redhat.com) wrote:
> > MADV_COLLAPSE is a new madvise() on Linux. Define it.
>
> I'd probably have merged this with the MADV_SPLIT one since they go
> together; but also, it would be good in the commit message
> for Qemu to include either the definition or a pointer to the kernel
> definiton of them.
Will do.
I don't have good links for them yet because both of them are still not in
upstream man-page project. Even THP version of MADV_COLLAPSE man page just
got added into the man-page repository in Nov 2022 so most of the websites
that host man pages won't even have MADV_COLLAPSE..
For now I'll add some more paragraphs trying to explain everything, and
I'll also link to madvise(2) where both of them will be discussed in the
future.
Thanks,
--
Peter Xu
- [PATCH RFC 03/21] physmem: Add qemu_ram_is_hugetlb(), (continued)
- [PATCH RFC 03/21] physmem: Add qemu_ram_is_hugetlb(), Peter Xu, 2023/01/17
- [PATCH RFC 04/21] madvise: Include linux/mman.h under linux-headers/, Peter Xu, 2023/01/17
- [PATCH RFC 05/21] madvise: Add QEMU_MADV_SPLIT, Peter Xu, 2023/01/17
- [PATCH RFC 06/21] madvise: Add QEMU_MADV_COLLAPSE, Peter Xu, 2023/01/17
- [PATCH RFC 07/21] ramblock: Cache file offset for file-backed ramblocks, Peter Xu, 2023/01/17
- [PATCH RFC 08/21] ramblock: Cache the length to do file mmap() on ramblocks, Peter Xu, 2023/01/17
- [PATCH RFC 01/21] update linux headers, Peter Xu, 2023/01/17
- [PATCH RFC 10/21] ramblock: Add ramblock_file_map(), Peter Xu, 2023/01/17