diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-04-21 04:01:24 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-04-21 04:01:24 +0200 |
commit | 9d58f1dbdb77be332731fb490d0d7f91a5718da8 (patch) | |
tree | e1ea724ab245d1b37317f822185aff06af01d99c /cgroup.h | |
parent | 51f7e59683d103590e70d17a177f1710b0b0326c (diff) |
reorder large structs a little, based on pahole info
Diffstat (limited to 'cgroup.h')
-rw-r--r-- | cgroup.h | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -37,6 +37,12 @@ struct CGroupBonding { struct cgroup *cgroup; + /* For the Unit::cgroup_bondings list */ + LIST_FIELDS(CGroupBonding, by_unit); + + /* For the Manager::cgroup_bondings hashmap */ + LIST_FIELDS(CGroupBonding, by_path); + /* When shutting down, remove cgroup? */ bool clean_up:1; @@ -45,12 +51,6 @@ struct CGroupBonding { /* Inherit parameters from parent group */ bool inherit:1; - - /* For the Unit::cgroup_bondings list */ - LIST_FIELDS(CGroupBonding, by_unit); - - /* For the Manager::cgroup_bondings hashmap */ - LIST_FIELDS(CGroupBonding, by_path); }; int cgroup_bonding_realize(CGroupBonding *b); |