Re: [PATCH v3 2/3] prandom: Convert prandom_u32_state() to __always_inline
From: Jason A. Donenfeld
Date: Fri Jan 02 2026 - 08:39:47 EST
Hi Ryan,
On Fri, Jan 2, 2026 at 2:12 PM Ryan Roberts <ryan.roberts@xxxxxxx> wrote:
> context. Given the function is just a handful of operations and doesn't
How many? What's this looking like in terms of assembly? It'd also be
nice to have some brief analysis of other call sites to have
confirmation this isn't blowing up other users.
> +static __always_inline u32 prandom_u32_state(struct rnd_state *state)
Why not just normal `inline`? Is gcc disagreeing with the inlinability
of this function?
Jason