On Thu, Dec 12, 2024 at 02:04:32AM +0300, Daniil Tatianin wrote: > Replace the boolean value enable_mlock with an enum and add a helper to > decide whether we should be calling os_mlock. > > This is a stepping stone towards introducing a new mlock mode, which > will be the third possible state of this enum. > > Signed-off-by: Daniil Tatianin <d-tatia...@yandex-team.ru>
Reviewed-by: Peter Xu <pet...@redhat.com> -- Peter Xu