Re: [PATCH 08/12] kho: add kho_radix_init_tree()

From: Jork Loeser

Date: Wed May 06 2026 - 06:51:14 EST


On Wed, 29 Apr 2026, Pratyush Yadav wrote:

From: "Pratyush Yadav (Google)" <pratyush@xxxxxxxxxx>

Move the initialization logic of the radix tree into
kho_radix_init_tree() instead of having users open-code it. Makes the
boundaries cleaner and reduces code duplication when a new user of the
radix tree will be added in a future commit.

Consider using kho_radix_init_tree() in kho_init() as well. This will also remove the kzalloc() one-off use. Similar for kho_radix_destroy_tree().

Best,
Jork