qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v3 4/4] overcommit: introduce mem-lock=on-fault


From: Vladimir Sementsov-Ogievskiy
Subject: Re: [PATCH v3 4/4] overcommit: introduce mem-lock=on-fault
Date: Thu, 12 Dec 2024 20:01:42 +0300
User-agent: Mozilla Thunderbird

On 12.12.24 02:04, Daniil Tatianin wrote:
Locking the memory without MCL_ONFAULT instantly prefaults any mmaped
anonymous memory with a write-fault, which introduces a lot of extra
overhead in terms of memory usage when all you want to do is to prevent
kcompactd from migrating and compacting QEMU pages. Add an option to
only lock pages lazily as they're faulted by the process by using
MCL_ONFAULT if asked.

Signed-off-by: Daniil Tatianin<d-tatianin@yandex-team.ru>


Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>


--
Best regards,
Vladimir




reply via email to

[Prev in Thread] Current Thread [Next in Thread]