Repository navigation
Commit 5faaf05
committed
cgroup: Explicitly remove core interface files
The "cgroup." core interface files bypass the usual interface removal
path and get removed recursively along with the cgroup itself. While
this works now, the subtle discrepancy gets in the way of implementing
common mechanisms.
This patch updates cgroup core interface file handling so that it's
consistent with controller interface files. When added, the css is
marked CSS_VISIBLE and they're explicitly removed before the cgroup is
destroyed.
This doesn't cause user-visible behavior changes.
Signed-off-by: Tejun Heo <tj@kernel.org>1 parent fe03a75 commit 5faaf05
1 file changed
Lines changed: 22 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1573 | 1573 | | |
1574 | 1574 | | |
1575 | 1575 | | |
1576 | | - | |
| 1576 | + | |
| 1577 | + | |
| 1578 | + | |
| 1579 | + | |
| 1580 | + | |
| 1581 | + | |
1577 | 1582 | | |
| 1583 | + | |
| 1584 | + | |
| 1585 | + | |
| 1586 | + | |
1578 | 1587 | | |
1579 | 1588 | | |
1580 | 1589 | | |
| |||
1598 | 1607 | | |
1599 | 1608 | | |
1600 | 1609 | | |
1601 | | - | |
1602 | | - | |
1603 | | - | |
1604 | | - | |
1605 | | - | |
1606 | | - | |
1607 | | - | |
1608 | | - | |
| 1610 | + | |
| 1611 | + | |
| 1612 | + | |
| 1613 | + | |
| 1614 | + | |
| 1615 | + | |
| 1616 | + | |
| 1617 | + | |
| 1618 | + | |
| 1619 | + | |
1609 | 1620 | | |
1610 | 1621 | | |
1611 | 1622 | | |
| |||
5090 | 5101 | | |
5091 | 5102 | | |
5092 | 5103 | | |
5093 | | - | |
5094 | | - | |
5095 | | - | |
5096 | | - | |
| 5104 | + | |
| 5105 | + | |
5097 | 5106 | | |
5098 | 5107 | | |
5099 | 5108 | | |
| |||
0 commit comments