Home
last modified time | relevance | path

Searched refs:user_lock_limit (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.15/kernel/events/
Dcore.c6173 unsigned long user_locked, user_lock_limit; in perf_mmap() local
6294 user_lock_limit = sysctl_perf_event_mlock >> (PAGE_SHIFT - 10); in perf_mmap()
6299 user_lock_limit *= num_online_cpus(); in perf_mmap()
6307 if (user_locked > user_lock_limit) in perf_mmap()
6308 user_locked = user_lock_limit; in perf_mmap()
6311 if (user_locked > user_lock_limit) { in perf_mmap()
6316 extra = user_locked - user_lock_limit; in perf_mmap()