History

kernel/sched/psi.c: expose pressure metrics on root cgroup

Pressure metrics are already recorded and exposed in procfs for the entire system, but any tool which monitors cgroup pressure has to special case the root cgroup to read from procfs. This patch exposes the already recorded pressure metrics on the root cgroup.

Dan Schatzberg committed 7 years ago

Commit df5ba5b1 parent 0e946823 files · +14 −7Browse files

Showing the changes to include/linux (1 of 3 files). Show all

Unified · Split

include/linux/psi.h+1−0
@@ -12,6 +12,7 @@ struct css_set; · 11 unmodified lines
12#ifdef CONFIG_PSI12#ifdef CONFIG_PSI
13 13
14extern struct static_key_false psi_disabled;14extern struct static_key_false psi_disabled;
15extern struct psi_group psi_system;
15 16
16void psi_init(void);17void psi_init(void);
17 18

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t