1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-22 17:35:35 +03:00

logind: drop bitfield annotations

As in other cases, this is simpler but better.

pahole:
-	/* size: 336, cachelines: 6, members: 50 */
-	/* sum members: 316, holes: 4, sum holes: 19 */
-	/* sum bitfield members: 4 bits, bit holes: 1, sum bit holes: 4 bits */
-	/* last cacheline: 16 bytes */
+	/* size: 328, cachelines: 6, members: 50 */
+	/* sum members: 320, holes: 3, sum holes: 8 */
+	/* last cacheline: 8 bytes */
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2024-02-19 12:25:29 +01:00
parent d53017292e
commit 6169bb19a9

View File

@ -135,16 +135,16 @@ struct Session {
sd_event_source *fifo_event_source;
sd_event_source *leader_pidfd_event_source;
bool idle_hint;
dual_timestamp idle_hint_timestamp;
bool in_gc_queue;
bool started;
bool stopping;
bool was_active;
bool locked_hint;
bool in_gc_queue:1;
bool started:1;
bool stopping:1;
bool was_active:1;
bool idle_hint;
dual_timestamp idle_hint_timestamp;
sd_bus_message *create_message; /* The D-Bus message used to create the session, which we haven't responded to yet */
sd_bus_message *upgrade_message; /* The D-Bus message used to upgrade the session class user-incomplete → user, which we haven't responded to yet */