Searched refs:rss_threshold (Results 1 – 8 of 8) sorted by relevance
32 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() local62 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()
69 obj-$(CONFIG_RSS_THRESHOLD) += rss_threshold.o
960 # Use rss_threshold to monitoring RSS963 bool "Enable /proc/<pid>/rss and /proc/<pid>/rss_threshold to monitoring RSS"
35 echo 2000 > /proc/$pid/rss_threshold36 value=$(cat /proc/$pid/rss_threshold | awk -F ':' '{print$2}'| awk '{print$1}')
35 value=$(cat /proc/$pid/rss_threshold | awk -F ':' '{print$2}'| awk '{print$1}')
7 openat$fd_rss_threshold(fd const[AT_FDCWD], file ptr[in, string["/proc/self/rss_threshold"]], flags…
506 unsigned long rss_threshold; /* A threshold monitor RSS */ member
1030 mm->rss_threshold = 0; in mm_init()