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
1212 #ifdef CONFIG_PSI
1313
1414 extern struct static_key_false psi_disabled;
15+extern struct psi_group psi_system;
1516
1617 void psi_init(void);
1718

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