Re: [PATCH 6/7] modules: Add CONFIG_ARCH_WANTS_MODULES_DATA_IN_VMALLOC

From: Christophe Leroy
Date: Thu Jan 27 2022 - 13:04:23 EST




Le 27/01/2022 à 17:05, Miroslav Benes a écrit :
>> @@ -195,6 +208,9 @@ static void mod_tree_remove(struct module *mod)
>> {
>> __mod_tree_remove(&mod->core_layout.mtn, &mod_tree);
>> mod_tree_remove_init(mod);
>> +#ifdef CONFIG_ARCH_WANTS_MODULES_DATA_IN_VMALLOC
>> + __mod_tree_remove(&mod->core_layout.mtn, &mod_data_tree);
>
> s/core_layout/data_layout/ ?

Oops, you are right. I should have awaited a few more hours before
sending v2.

Thanks

Christophe