Re: [PATCH v3 03/10] eventfs: adding eventfs dir add functions

From: Nadav Amit
Date: Sun Jul 09 2023 - 22:17:10 EST



> On Jul 9, 2023, at 6:54 PM, Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
>
> + union {
> + struct rcu_head rcu;
> + struct llist_node llist; /* For freeing after RCU */
> + };

The memory savings from using a union might not be worth the potential impact
of type confusion and bugs.