kernel:control_groups
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
kernel:control_groups [2020/07/21 22:54] – old revision restored (2017/04/06 10:38) 192.99.10.47 | kernel:control_groups [2020/07/22 18:05] (current) – old revision restored (2020/07/20 16:09) 207.244.157.10 | ||
---|---|---|---|
Line 299: | Line 299: | ||
When passing a name=< | When passing a name=< | ||
- | The name of the subsystem appears as part of the hierarchy description in / | + | The name of the subsystem appears as part of the hierarchy description in **/ |
==== Notification API ==== | ==== Notification API ==== | ||
Line 316: | Line 316: | ||
To unregister notification handler just close eventfd. | To unregister notification handler just close eventfd. | ||
- | NOTE: Support of notifications should be implemented for the control file. See documentation for the subsystem. | + | <WRAP info> |
+ | **NOTE**: Support of notifications should be implemented for the control file. See documentation for the subsystem. | ||
+ | </ | ||
===== Kernel API ===== | ===== Kernel API ===== | ||
Line 323: | Line 324: | ||
==== Overview ==== | ==== Overview ==== | ||
- | Each kernel subsystem that wants to hook into the generic cgroup system needs to create a cgroup_subsys object. | + | Each kernel subsystem that wants to hook into the generic cgroup system needs to create a **cgroup_subsys** object. |
Other fields in the cgroup_subsys object include: | Other fields in the cgroup_subsys object include: | ||
Line 336: | Line 337: | ||
==== Synchronization ==== | ==== Synchronization ==== | ||
- | There is a global mutex, cgroup_mutex, | + | There is a global mutex, |
See kernel/ | See kernel/ | ||
- | Subsystems can take/ | + | Subsystems can take/ |
Accessing a task's cgroup pointer may be done in the following ways: | Accessing a task's cgroup pointer may be done in the following ways: |
kernel/control_groups.1595372086.txt.gz · Last modified: 2020/07/21 22:54 by 192.99.10.47