On Wed, Jan 18, 2023 at 06:51:07PM +0000, Dr. David Alan Gilbert wrote: > * Peter Xu (pet...@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