Re: [PATCH v8 05/13] lib/bootconfig: drop redundant memset of xbc_nodes

Markus Elfring
2026-03-18T20:22:36Z

> memblock_alloc() already returns zeroed memory,

Interesting …

> so the explicit memset
> in xbc_init() is redundant. …

Would you like to reconsider this conclusion for the mentioned function implementation
in more detail?
https://elixir.bootlin.com/linux/v7.0-rc4/source/lib/bootconfig.c#L932-L998

Regards,
Markus