aboutsummaryrefslogtreecommitdiffstats
path: root/util/system/mlock.h
diff options
context:
space:
mode:
authorIlnur Khuziev <ilnur.khuziev@yandex.ru>2022-02-10 16:46:14 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:14 +0300
commit60040c91ffe701a84689b2c6310ff845e65cff42 (patch)
tree1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /util/system/mlock.h
parent736dcd8ca259457a136f2f9f9168c44643914323 (diff)
downloadydb-60040c91ffe701a84689b2c6310ff845e65cff42.tar.gz
Restoring authorship annotation for Ilnur Khuziev <ilnur.khuziev@yandex.ru>. Commit 2 of 2.
Diffstat (limited to 'util/system/mlock.h')
-rw-r--r--util/system/mlock.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/system/mlock.h b/util/system/mlock.h
index 389f65570d..f021c0fe67 100644
--- a/util/system/mlock.h
+++ b/util/system/mlock.h
@@ -22,10 +22,10 @@ enum ELockAllMemoryFlag {
/** Since Linux 4.4, with LockCurrentMemory or LockFutureMemory or both, lock only pages that are or once they are present in memory. */
LockMemoryOnFault = 4,
-};
+};
Y_DECLARE_FLAGS(ELockAllMemoryFlags, ELockAllMemoryFlag)
Y_DECLARE_OPERATORS_FOR_FLAGS(ELockAllMemoryFlags)
-
+
/**
* Performs provided locking operation.
*
@@ -34,7 +34,7 @@ Y_DECLARE_OPERATORS_FOR_FLAGS(ELockAllMemoryFlags)
* \param flags Locking operation to perform.
*/
void LockAllMemory(ELockAllMemoryFlags flags);
-
+
/**
* Unlocks whatever was locked with a previous call to `LockAllMemory`.
*