On Thu, Mar 26, 2026 at 07:48:28PM -0700, Rosen Penev wrote:
> Convert struct mem_ctl_info to use flex array and use the new flex
> array helpers to simplify initialization.

Meh, simplify... rather to teach an old dog like me new tricks... :)

> Add __counted_by for extra runtime analysis when requested.
> 
> Move counting assignment immediately after allocation as required by
> __counted_by.

So far so good.

> Move memcpy to make it clear that this should have been kmemdup_array.

But you lost me here. What do you mean with the "should have been
kmemdup_array"?

Thx.

-- 
Regards/Gruss,
    Boris.

https://people.kernel.org/tglx/notes-about-netiquette

Reply via email to