Re: [PATCH] module: Add CONFIG_MODULE_LOAD_IN_SEQUENCE option

2023-10-11 Thread Christoph Hellwig
On Mon, Oct 09, 2023 at 10:26:35AM +0530, Joey Jiao wrote: > When modprobe cmds are executed one by one, the final loaded modules > are not in fixed sequence as expected. And why does this matter? If this is important enough to matter it should just be the default, and have really good reason

Re: [PATCH] module: Add CONFIG_MODULE_LOAD_IN_SEQUENCE option

2023-10-11 Thread Joey Jiao
Thanks Luis, will recheck these two points. On Tue, Oct 10, 2023 at 07:21:13PM -0700, Luis Chamberlain wrote: > Please find a good email client to reply to patches. > > On Wed, Oct 11, 2023 at 01:57:58AM +, Joey Jiao (QUIC) wrote: > > Hi Luis, > > > > > How is ignoring an error ensuring

Re: [PATCH] module: Add CONFIG_MODULE_LOAD_IN_SEQUENCE option

2023-10-10 Thread Luis Chamberlain
Please find a good email client to reply to patches. On Wed, Oct 11, 2023 at 01:57:58AM +, Joey Jiao (QUIC) wrote: > Hi Luis, > > > How is ignoring an error ensuring ordering? > The change is just to disable the schedule_work. That's different and can be made clearer. Try: if

RE: [PATCH] module: Add CONFIG_MODULE_LOAD_IN_SEQUENCE option

2023-10-10 Thread Joey Jiao (QUIC)
rZO8/m/WOyAKx8ZAgAJ for modprobe. THX Joey -Original Message- From: Luis Chamberlain On Behalf Of Luis Chamberlain Sent: Wednesday, October 11, 2023 6:36 AM To: Joey Jiao (QUIC) Cc: linux-modu...@vger.kernel.org; linux-kernel@vger.kernel.org Subject: Re: [PATCH] modul

Re: [PATCH] module: Add CONFIG_MODULE_LOAD_IN_SEQUENCE option

2023-10-10 Thread Luis Chamberlain
On Mon, Oct 09, 2023 at 10:26:35AM +0530, Joey Jiao wrote: > When modprobe cmds are executed one by one, the final loaded modules > are not in fixed sequence as expected. > > Add the option to make sure modules are in fixed sequence across reboot. > > Signed-off-by: Joey Jiao > --- >

[PATCH] module: Add CONFIG_MODULE_LOAD_IN_SEQUENCE option

2023-10-08 Thread Joey Jiao
When modprobe cmds are executed one by one, the final loaded modules are not in fixed sequence as expected. Add the option to make sure modules are in fixed sequence across reboot. Signed-off-by: Joey Jiao --- kernel/module/Kconfig | 11 +++ kernel/module/main.c | 6 ++ 2 files