Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/mm/
Drss_threshold.c32 if (!(mm->owner) || mm->rss_threshold == 0) in listen_rss_threshold()
37 if (likely(total_rss <= mm->rss_threshold)) in listen_rss_threshold()
44 mm->rss_threshold); in listen_rss_threshold()
49 mm->rss_threshold); in listen_rss_threshold()
59 unsigned long rss_threshold; in rss_threshold_write() local
62 err = kstrtoul_from_user(buf, count, 0, &rss_threshold); in rss_threshold_write()
67 if (rss_threshold < 0 || rss_threshold > mem_total) in rss_threshold_write()
76 mm->rss_threshold = rss_threshold; in rss_threshold_write()
98 seq_printf(m, "Threshold:%lu KB\n", mm->rss_threshold); in rss_threshold_show()
DMakefile69 obj-$(CONFIG_RSS_THRESHOLD) += rss_threshold.o
DKconfig960 # Use rss_threshold to monitoring RSS
963 bool "Enable /proc/<pid>/rss and /proc/<pid>/rss_threshold to monitoring RSS"
/kernel/linux/build/test/moduletest/runtest/bin/rss_monitor_t/testcases/bin/
Drss_monitor03.sh35 echo 2000 > /proc/$pid/rss_threshold
36 value=$(cat /proc/$pid/rss_threshold | awk -F ':' '{print$2}'| awk '{print$1}')
Drss_monitor02.sh35 value=$(cat /proc/$pid/rss_threshold | awk -F ':' '{print$2}'| awk '{print$1}')
/kernel/linux/build/test/syzkaller/qos_auth/
Drss_threshold.txt7 openat$fd_rss_threshold(fd const[AT_FDCWD], file ptr[in, string["/proc/self/rss_threshold"]], flags…
/kernel/linux/linux-5.10/include/linux/
Dmm_types.h506 unsigned long rss_threshold; /* A threshold monitor RSS */ member
/kernel/linux/linux-5.10/kernel/
Dfork.c1030 mm->rss_threshold = 0; in mm_init()