Searched refs:user_lock_limit (Results 1 – 1 of 1) sorted by relevance
6201 unsigned long user_locked, user_lock_limit; in perf_mmap() local6322 user_lock_limit = sysctl_perf_event_mlock >> (PAGE_SHIFT - 10); in perf_mmap()6327 user_lock_limit *= num_online_cpus(); in perf_mmap()6335 if (user_locked > user_lock_limit) in perf_mmap()6336 user_locked = user_lock_limit; in perf_mmap()6339 if (user_locked > user_lock_limit) { in perf_mmap()6344 extra = user_locked - user_lock_limit; in perf_mmap()