tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: RFC: PERCPU_LIST to fix PR kern/52515



>  struct psref {
> -	LIST_ENTRY(psref)		psref_entry;
> +	SLIST_ENTRY(psref)		psref_entry;
> +	/* To keep ABI with LIST_ENTRY(psref) version. */
> +	void				*psref_unused0;
Isn't it somewhat fishy to manally pad this, knowing how big a [S]LIST_ENTRY 
is? Wouldn't it be cleaner to use a union?


Home | Main Index | Thread Index | Old Index