> +static void __init kho_extend_scratch(void)
> +{
> +     const struct kho_radix_walk_cb kho_cb = {
> +             .leaf = kho_ext_walk_leaf,
> +             .node = kho_ext_walk_node,
> +     };
> +     const struct kho_radix_walk_cb ext_cb = {
> +             .leaf = kho_ext_mark_scratch,
> +     };
> +     struct kho_radix_tree radix;
> +     phys_addr_t prev_end = 0;
> +     int err = 0;
> +
> +     err = kho_radix_init_tree(&radix, NULL);
> +     if (err)
> +             goto print;
> +
> +     /* Walk the KHO radix tree to find busy blocks. */
> +     err = kho_radix_walk_tree(&kho_in.radix_tree, &kho_cb, &radix);

sashiko: Will this trigger a lockdep recursive locking warning?

I think it will.

-- 
Sincerely yours,
Mike.


Reply via email to