mirror of
https://github.com/systemd/systemd
synced 2024-10-04 15:21:01 +00:00
cgtop: drop counterproductive bitfields
The variable after the bitfields has 8 byte alignment, so we weren't saving any memory, but the code to serve the bitfields was more complicated.
This commit is contained in:
parent
726afd5d9a
commit
882c514d50
|
@ -36,10 +36,10 @@
|
|||
typedef struct Group {
|
||||
char *path;
|
||||
|
||||
bool n_tasks_valid:1;
|
||||
bool cpu_valid:1;
|
||||
bool memory_valid:1;
|
||||
bool io_valid:1;
|
||||
bool n_tasks_valid;
|
||||
bool cpu_valid;
|
||||
bool memory_valid;
|
||||
bool io_valid;
|
||||
|
||||
uint64_t n_tasks;
|
||||
|
||||
|
|
Loading…
Reference in a new issue