[PATCH v3 2/3] prandom: Convert prandom_u32_state() to __always_inline

Jason A. Donenfeld Jason at zx2c4.com
Fri Jan 2 05:39:21 PST 2026


Hi Ryan,

On Fri, Jan 2, 2026 at 2:12 PM Ryan Roberts <ryan.roberts at arm.com> 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



More information about the linux-riscv mailing list