Home
last modified time | relevance | path

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

/linux-6.6.21/kernel/events/
Dcore.c6428 unsigned long user_locked, user_lock_limit; in perf_mmap() local
6549 user_lock_limit = sysctl_perf_event_mlock >> (PAGE_SHIFT - 10); in perf_mmap()
6554 user_lock_limit *= num_online_cpus(); in perf_mmap()
6562 if (user_locked > user_lock_limit) in perf_mmap()
6563 user_locked = user_lock_limit; in perf_mmap()
6566 if (user_locked > user_lock_limit) { in perf_mmap()
6571 extra = user_locked - user_lock_limit; in perf_mmap()