Date: Fri, 31 Oct 2025 08:11:30 -0700
On Thursday, 30 October 2025 23:27:14 Pacific Daylight Time Lénárd Szolnoki
wrote:
> I think it makes sense to wrap and expose the mremap capability (with
> MREMAP_MAYMOVE) in the allocator. I don't think it can be broken down to
> smaller operations, it really is a transaction.
>
> Having said that, having only this operation is indeed limited. A "try
> resize allocation inplace" operartion would indeed be useful.
Indeed, or a mrealloc() function that takes a flags field, one of which would be
MAYMOVE.
wrote:
> I think it makes sense to wrap and expose the mremap capability (with
> MREMAP_MAYMOVE) in the allocator. I don't think it can be broken down to
> smaller operations, it really is a transaction.
>
> Having said that, having only this operation is indeed limited. A "try
> resize allocation inplace" operartion would indeed be useful.
Indeed, or a mrealloc() function that takes a flags field, one of which would be
MAYMOVE.
-- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Principal Engineer - Intel Data Center - Platform & Sys. Eng.
Received on 2025-10-31 15:11:41
