Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20260315192725.257646-1-hisamshar@gmail.com>
Date: Mon, 16 Mar 2026 00:27:25 +0500
From: Hisam Mehboob <hisamshar@...il.com>
To: musl@...ts.openwall.com
Subject: Re: [PATCH] sys/mman.h: add MADV_COLLAPSE from linux v6.1

> Add madvise flag which performs a best-effort synchronous
> collapse of the native pages mapped by the memory range
> into Transparent Huge Pages (THPs)

Following up on this patch from 2023. This is still an issue
with the latest musl 1.2.5 - MADV_COLLAPSE remains undefined,
causing build failures when compiling Linux kernel selftests
(tools/testing/selftests/kvm/) with musl-gcc:

  guest_memfd_test.c:219:47: error: 'MADV_COLLAPSE' undeclared

Is there any reason this patch was not merged? Is there
anything needed to move it forward?

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.