Re: Re: [RFC PATCH 4/5] module: Lock up a module when loading with a LOCLUP flag

2014-08-26 Thread Masami Hiramatsu
(2014/08/26 14:30), Lucas De Marchi wrote: > On Mon, Aug 25, 2014 at 10:55:48AM +, Masami Hiramatsu wrote: >> Lock-up a module in kernel so that it is not removed unless >> forcibly unload. This is done by loading a module with >> MODULE_INIT_LOCKUP_MODULE flag (via finit_module). >> This

Re: Re: [RFC PATCH 4/5] module: Lock up a module when loading with a LOCLUP flag

2014-08-26 Thread Masami Hiramatsu
(2014/08/26 14:30), Lucas De Marchi wrote: On Mon, Aug 25, 2014 at 10:55:48AM +, Masami Hiramatsu wrote: Lock-up a module in kernel so that it is not removed unless forcibly unload. This is done by loading a module with MODULE_INIT_LOCKUP_MODULE flag (via finit_module). This speeds up

Re: [RFC PATCH 4/5] module: Lock up a module when loading with a LOCLUP flag

2014-08-25 Thread Lucas De Marchi
On Mon, Aug 25, 2014 at 10:55:48AM +, Masami Hiramatsu wrote: > Lock-up a module in kernel so that it is not removed unless > forcibly unload. This is done by loading a module with > MODULE_INIT_LOCKUP_MODULE flag (via finit_module). > This speeds up try_module_get by skipping refcount inc/dec

[RFC PATCH 4/5] module: Lock up a module when loading with a LOCLUP flag

2014-08-25 Thread Masami Hiramatsu
Lock-up a module in kernel so that it is not removed unless forcibly unload. This is done by loading a module with MODULE_INIT_LOCKUP_MODULE flag (via finit_module). This speeds up try_module_get by skipping refcount inc/dec for the locked modules. Note that this flag requires to update libkmod

[RFC PATCH 4/5] module: Lock up a module when loading with a LOCLUP flag

2014-08-25 Thread Masami Hiramatsu
Lock-up a module in kernel so that it is not removed unless forcibly unload. This is done by loading a module with MODULE_INIT_LOCKUP_MODULE flag (via finit_module). This speeds up try_module_get by skipping refcount inc/dec for the locked modules. Note that this flag requires to update libkmod

Re: [RFC PATCH 4/5] module: Lock up a module when loading with a LOCLUP flag

2014-08-25 Thread Lucas De Marchi
On Mon, Aug 25, 2014 at 10:55:48AM +, Masami Hiramatsu wrote: Lock-up a module in kernel so that it is not removed unless forcibly unload. This is done by loading a module with MODULE_INIT_LOCKUP_MODULE flag (via finit_module). This speeds up try_module_get by skipping refcount inc/dec for