Re: [PATCH v5 1/6] module: Always have struct mod_tree_root

2022-02-22 Thread Aaron Tomlin
On Tue 2022-02-22 16:00 +0100, Christophe Leroy wrote: > In order to separate text and data, we need to setup > two rb trees. > > This means that struct mod_tree_root is required even without > MODULES_TREE_LOOKUP. > > Signed-off-by: Christophe Leroy > --- > kernel/module/internal.h | 4 +++- >

[PATCH v5 1/6] module: Always have struct mod_tree_root

2022-02-22 Thread Christophe Leroy
In order to separate text and data, we need to setup two rb trees. This means that struct mod_tree_root is required even without MODULES_TREE_LOOKUP. Signed-off-by: Christophe Leroy --- kernel/module/internal.h | 4 +++- kernel/module/main.c | 5 - 2 files changed, 3 insertions(+), 6 de