Re: [PATCH 04/13] module: use RCU to synchronize find_module

From: Petr Mladek
Date: Fri Jan 29 2021 - 05:35:15 EST


On Thu 2021-01-28 19:14:12, Christoph Hellwig wrote:
> Allow for a RCU-sched critical section around find_module, following
> the lower level find_module_all helper, and switch the two callers
> outside of module.c to use such a RCU-sched critical section instead
> of module_mutex.
>
> Signed-off-by: Christoph Hellwig <hch@xxxxxx>

It looks good and safe.

Reviewed-by: Petr Mladek <pmladek@xxxxxxxx>

Best Regards,
Petr