_POSIX_MEMLOCK_RANGE

Enable this option with CONFIG_POSIX_MEMLOCK_RANGE.

Locking keeps pages resident under CONFIG_DEMAND_PAGING. Without it every page is resident already and the functions below succeed without effect. See Memory Locking for the design.

_POSIX_MEMLOCK_RANGE

API

Supported

mlock()

yes

munlock()

yes

_POSIX_MEMLOCK_RANGE