Re: [PATCH] libkmod-module: Remove directory existence check for KMOD_MODULE_BUILTIN

2015-03-01 Thread Harish Jenny Kandiga Nagaraj
On Saturday 28 February 2015 10:58 PM, Lucas De Marchi wrote: > On Thu, Feb 19, 2015 at 12:35 PM, Harish Jenny Kandiga Nagaraj > wrote: >> On Thursday 19 February 2015 07:32 PM, Harish Jenny Kandiga Nagaraj wrote: >>> On Thursday 19 February 2015 06:13 PM, Lucas De Marchi wrote: On Thu, Feb

Re: [PATCH] libkmod-module: Remove directory existence check for KMOD_MODULE_BUILTIN

2015-03-01 Thread Harish Jenny Kandiga Nagaraj
On Saturday 28 February 2015 10:58 PM, Lucas De Marchi wrote: On Thu, Feb 19, 2015 at 12:35 PM, Harish Jenny Kandiga Nagaraj harish_kand...@mentor.com wrote: On Thursday 19 February 2015 07:32 PM, Harish Jenny Kandiga Nagaraj wrote: On Thursday 19 February 2015 06:13 PM, Lucas De Marchi

Re: [PATCH] libkmod-module: Remove directory existence check for KMOD_MODULE_BUILTIN

2015-02-28 Thread Lucas De Marchi
On Thu, Feb 19, 2015 at 12:35 PM, Harish Jenny Kandiga Nagaraj wrote: > > On Thursday 19 February 2015 07:32 PM, Harish Jenny Kandiga Nagaraj wrote: >> On Thursday 19 February 2015 06:13 PM, Lucas De Marchi wrote: >>> On Thu, Feb 19, 2015 at 10:32 AM, Harish Jenny Kandiga Nagaraj >> diff --git

Re: [PATCH] libkmod-module: Remove directory existence check for KMOD_MODULE_BUILTIN

2015-02-28 Thread Lucas De Marchi
On Thu, Feb 19, 2015 at 12:35 PM, Harish Jenny Kandiga Nagaraj harish_kand...@mentor.com wrote: On Thursday 19 February 2015 07:32 PM, Harish Jenny Kandiga Nagaraj wrote: On Thursday 19 February 2015 06:13 PM, Lucas De Marchi wrote: On Thu, Feb 19, 2015 at 10:32 AM, Harish Jenny Kandiga

Re: [PATCH] libkmod-module: Remove directory existence check for KMOD_MODULE_BUILTIN

2015-02-19 Thread Harish Jenny Kandiga Nagaraj
On Thursday 19 February 2015 07:32 PM, Harish Jenny Kandiga Nagaraj wrote: > On Thursday 19 February 2015 06:13 PM, Lucas De Marchi wrote: >> On Thu, Feb 19, 2015 at 10:32 AM, Harish Jenny Kandiga Nagaraj >> wrote: >>> On Thursday 19 February 2015 04:00 PM, Lucas De Marchi wrote: On Thu,

Re: [PATCH] libkmod-module: Remove directory existence check for KMOD_MODULE_BUILTIN

2015-02-19 Thread Harish Jenny Kandiga Nagaraj
On Thursday 19 February 2015 06:13 PM, Lucas De Marchi wrote: > On Thu, Feb 19, 2015 at 10:32 AM, Harish Jenny Kandiga Nagaraj > wrote: >> On Thursday 19 February 2015 04:00 PM, Lucas De Marchi wrote: >>> On Thu, Feb 19, 2015 at 3:49 AM, Harish Jenny Kandiga Nagaraj >>> wrote: > Harrish, in

Re: [PATCH] libkmod-module: Remove directory existence check for KMOD_MODULE_BUILTIN

2015-02-19 Thread Lucas De Marchi
On Thu, Feb 19, 2015 at 10:32 AM, Harish Jenny Kandiga Nagaraj wrote: > > On Thursday 19 February 2015 04:00 PM, Lucas De Marchi wrote: >> On Thu, Feb 19, 2015 at 3:49 AM, Harish Jenny Kandiga Nagaraj >> wrote: Harrish, in your patch if you just change the "return KMOD_MODULE_BUILTIN;"

Re: [PATCH] libkmod-module: Remove directory existence check for KMOD_MODULE_BUILTIN

2015-02-19 Thread Harish Jenny Kandiga Nagaraj
On Thursday 19 February 2015 04:00 PM, Lucas De Marchi wrote: > On Thu, Feb 19, 2015 at 3:49 AM, Harish Jenny Kandiga Nagaraj > wrote: >>> Harrish, in your patch if you just change the "return >>> KMOD_MODULE_BUILTIN;" to "return KMOD_MODULE_COMING;" does it work? >> Yes. Returning

Re: [PATCH] libkmod-module: Remove directory existence check for KMOD_MODULE_BUILTIN

2015-02-19 Thread Harish Jenny Kandiga Nagaraj
On Thursday 19 February 2015 04:00 PM, Lucas De Marchi wrote: > On Thu, Feb 19, 2015 at 3:49 AM, Harish Jenny Kandiga Nagaraj > wrote: >>> Harrish, in your patch if you just change the "return >>> KMOD_MODULE_BUILTIN;" to "return KMOD_MODULE_COMING;" does it work? >> Yes. Returning

Re: [PATCH] libkmod-module: Remove directory existence check for KMOD_MODULE_BUILTIN

2015-02-19 Thread Lucas De Marchi
On Thu, Feb 19, 2015 at 3:49 AM, Harish Jenny Kandiga Nagaraj wrote: >> Harrish, in your patch if you just change the "return >> KMOD_MODULE_BUILTIN;" to "return KMOD_MODULE_COMING;" does it work? > > Yes. Returning KMOD_MODULE_COMING instead of KMOD_MODULE_BUILTIN works. The > built-in modules

Re: [PATCH] libkmod-module: Remove directory existence check for KMOD_MODULE_BUILTIN

2015-02-19 Thread Lucas De Marchi
On Thu, Feb 19, 2015 at 3:49 AM, Harish Jenny Kandiga Nagaraj harish_kand...@mentor.com wrote: Harrish, in your patch if you just change the return KMOD_MODULE_BUILTIN; to return KMOD_MODULE_COMING; does it work? Yes. Returning KMOD_MODULE_COMING instead of KMOD_MODULE_BUILTIN works. The

Re: [PATCH] libkmod-module: Remove directory existence check for KMOD_MODULE_BUILTIN

2015-02-19 Thread Harish Jenny Kandiga Nagaraj
On Thursday 19 February 2015 04:00 PM, Lucas De Marchi wrote: On Thu, Feb 19, 2015 at 3:49 AM, Harish Jenny Kandiga Nagaraj harish_kand...@mentor.com wrote: Harrish, in your patch if you just change the return KMOD_MODULE_BUILTIN; to return KMOD_MODULE_COMING; does it work? Yes. Returning

Re: [PATCH] libkmod-module: Remove directory existence check for KMOD_MODULE_BUILTIN

2015-02-19 Thread Harish Jenny Kandiga Nagaraj
On Thursday 19 February 2015 04:00 PM, Lucas De Marchi wrote: On Thu, Feb 19, 2015 at 3:49 AM, Harish Jenny Kandiga Nagaraj harish_kand...@mentor.com wrote: Harrish, in your patch if you just change the return KMOD_MODULE_BUILTIN; to return KMOD_MODULE_COMING; does it work? Yes. Returning

Re: [PATCH] libkmod-module: Remove directory existence check for KMOD_MODULE_BUILTIN

2015-02-19 Thread Harish Jenny Kandiga Nagaraj
On Thursday 19 February 2015 06:13 PM, Lucas De Marchi wrote: On Thu, Feb 19, 2015 at 10:32 AM, Harish Jenny Kandiga Nagaraj harish_kand...@mentor.com wrote: On Thursday 19 February 2015 04:00 PM, Lucas De Marchi wrote: On Thu, Feb 19, 2015 at 3:49 AM, Harish Jenny Kandiga Nagaraj

Re: [PATCH] libkmod-module: Remove directory existence check for KMOD_MODULE_BUILTIN

2015-02-19 Thread Lucas De Marchi
On Thu, Feb 19, 2015 at 10:32 AM, Harish Jenny Kandiga Nagaraj harish_kand...@mentor.com wrote: On Thursday 19 February 2015 04:00 PM, Lucas De Marchi wrote: On Thu, Feb 19, 2015 at 3:49 AM, Harish Jenny Kandiga Nagaraj harish_kand...@mentor.com wrote: Harrish, in your patch if you just

Re: [PATCH] libkmod-module: Remove directory existence check for KMOD_MODULE_BUILTIN

2015-02-19 Thread Harish Jenny Kandiga Nagaraj
On Thursday 19 February 2015 07:32 PM, Harish Jenny Kandiga Nagaraj wrote: On Thursday 19 February 2015 06:13 PM, Lucas De Marchi wrote: On Thu, Feb 19, 2015 at 10:32 AM, Harish Jenny Kandiga Nagaraj harish_kand...@mentor.com wrote: On Thursday 19 February 2015 04:00 PM, Lucas De Marchi

Re: [PATCH] libkmod-module: Remove directory existence check for KMOD_MODULE_BUILTIN

2015-02-18 Thread Harish Jenny Kandiga Nagaraj
On Thursday 19 February 2015 06:49 AM, Lucas De Marchi wrote: > On Wed, Feb 18, 2015 at 8:40 PM, Rusty Russell wrote: >> Lucas De Marchi writes: >>> On Wed, Feb 18, 2015 at 2:07 AM, Rusty Russell >>> wrote: >>> Yeah, I just thought (an wanted that) the attributes were being >>> created first

Re: [PATCH] libkmod-module: Remove directory existence check for KMOD_MODULE_BUILTIN

2015-02-18 Thread Lucas De Marchi
On Thu, Feb 19, 2015 at 12:25 AM, greg KH wrote: > On Wed, Feb 18, 2015 at 11:19:14PM -0200, Lucas De Marchi wrote: >> On Wed, Feb 18, 2015 at 8:40 PM, Rusty Russell wrote: >> > Lucas De Marchi writes: >> >> On Wed, Feb 18, 2015 at 2:07 AM, Rusty Russell >> >> wrote: >> >> Yeah, I just

Re: [PATCH] libkmod-module: Remove directory existence check for KMOD_MODULE_BUILTIN

2015-02-18 Thread Lucas De Marchi
On Thu, Feb 19, 2015 at 12:25 AM, Rusty Russell wrote: > Lucas De Marchi writes: >> On Wed, Feb 18, 2015 at 8:40 PM, Rusty Russell wrote: >>> Lucas De Marchi writes: On Wed, Feb 18, 2015 at 2:07 AM, Rusty Russell wrote: Yeah, I just thought (an wanted that) the attributes were

Re: [PATCH] libkmod-module: Remove directory existence check for KMOD_MODULE_BUILTIN

2015-02-18 Thread Rusty Russell
Lucas De Marchi writes: > On Wed, Feb 18, 2015 at 8:40 PM, Rusty Russell wrote: >> Lucas De Marchi writes: >>> On Wed, Feb 18, 2015 at 2:07 AM, Rusty Russell >>> wrote: >>> Yeah, I just thought (an wanted that) the attributes were being >>> created first and then hooked up in the sysfs tree

Re: [PATCH] libkmod-module: Remove directory existence check for KMOD_MODULE_BUILTIN

2015-02-18 Thread greg KH
On Wed, Feb 18, 2015 at 11:19:14PM -0200, Lucas De Marchi wrote: > On Wed, Feb 18, 2015 at 8:40 PM, Rusty Russell wrote: > > Lucas De Marchi writes: > >> On Wed, Feb 18, 2015 at 2:07 AM, Rusty Russell > >> wrote: > >> Yeah, I just thought (an wanted that) the attributes were being > >> created

Re: [PATCH] libkmod-module: Remove directory existence check for KMOD_MODULE_BUILTIN

2015-02-18 Thread Lucas De Marchi
On Wed, Feb 18, 2015 at 8:40 PM, Rusty Russell wrote: > Lucas De Marchi writes: >> On Wed, Feb 18, 2015 at 2:07 AM, Rusty Russell wrote: >> Yeah, I just thought (an wanted that) the attributes were being >> created first and then hooked up in the sysfs tree under >> /sys/module/. I.e. if the

Re: [PATCH] libkmod-module: Remove directory existence check for KMOD_MODULE_BUILTIN

2015-02-18 Thread Rusty Russell
Lucas De Marchi writes: > On Wed, Feb 18, 2015 at 2:07 AM, Rusty Russell wrote: > Yeah, I just thought (an wanted that) the attributes were being > created first and then hooked up in the sysfs tree under > /sys/module/. I.e. if the directory exists and there's no > initstate this is because

Re: [PATCH] libkmod-module: Remove directory existence check for KMOD_MODULE_BUILTIN

2015-02-18 Thread Lucas De Marchi
On Wed, Feb 18, 2015 at 2:07 AM, Rusty Russell wrote: > Lucas De Marchi writes: >> On Tue, Feb 17, 2015 at 10:56 AM, Harish Jenny K N >> wrote: >>> usecase: two sd cards are being mounted in parallel at same time on >>> dual core. example modules which are getting loaded is nls_cp437. >>> While

Re: [PATCH] libkmod-module: Remove directory existence check for KMOD_MODULE_BUILTIN

2015-02-18 Thread Lucas De Marchi
On Wed, Feb 18, 2015 at 2:07 AM, Rusty Russell ru...@rustcorp.com.au wrote: Lucas De Marchi lucas.de.mar...@gmail.com writes: On Tue, Feb 17, 2015 at 10:56 AM, Harish Jenny K N harish_kand...@mentor.com wrote: usecase: two sd cards are being mounted in parallel at same time on dual core.

Re: [PATCH] libkmod-module: Remove directory existence check for KMOD_MODULE_BUILTIN

2015-02-18 Thread Harish Jenny Kandiga Nagaraj
On Thursday 19 February 2015 06:49 AM, Lucas De Marchi wrote: On Wed, Feb 18, 2015 at 8:40 PM, Rusty Russell ru...@rustcorp.com.au wrote: Lucas De Marchi lucas.de.mar...@gmail.com writes: On Wed, Feb 18, 2015 at 2:07 AM, Rusty Russell ru...@rustcorp.com.au wrote: Yeah, I just thought (an

Re: [PATCH] libkmod-module: Remove directory existence check for KMOD_MODULE_BUILTIN

2015-02-18 Thread Rusty Russell
Lucas De Marchi lucas.de.mar...@gmail.com writes: On Wed, Feb 18, 2015 at 2:07 AM, Rusty Russell ru...@rustcorp.com.au wrote: Yeah, I just thought (an wanted that) the attributes were being created first and then hooked up in the sysfs tree under /sys/module/modulename. I.e. if the directory

Re: [PATCH] libkmod-module: Remove directory existence check for KMOD_MODULE_BUILTIN

2015-02-18 Thread Rusty Russell
Lucas De Marchi lucas.de.mar...@gmail.com writes: On Wed, Feb 18, 2015 at 8:40 PM, Rusty Russell ru...@rustcorp.com.au wrote: Lucas De Marchi lucas.de.mar...@gmail.com writes: On Wed, Feb 18, 2015 at 2:07 AM, Rusty Russell ru...@rustcorp.com.au wrote: Yeah, I just thought (an wanted that)

Re: [PATCH] libkmod-module: Remove directory existence check for KMOD_MODULE_BUILTIN

2015-02-18 Thread Lucas De Marchi
On Thu, Feb 19, 2015 at 12:25 AM, greg KH gre...@linuxfoundation.org wrote: On Wed, Feb 18, 2015 at 11:19:14PM -0200, Lucas De Marchi wrote: On Wed, Feb 18, 2015 at 8:40 PM, Rusty Russell ru...@rustcorp.com.au wrote: Lucas De Marchi lucas.de.mar...@gmail.com writes: On Wed, Feb 18, 2015 at

Re: [PATCH] libkmod-module: Remove directory existence check for KMOD_MODULE_BUILTIN

2015-02-18 Thread Lucas De Marchi
On Wed, Feb 18, 2015 at 8:40 PM, Rusty Russell ru...@rustcorp.com.au wrote: Lucas De Marchi lucas.de.mar...@gmail.com writes: On Wed, Feb 18, 2015 at 2:07 AM, Rusty Russell ru...@rustcorp.com.au wrote: Yeah, I just thought (an wanted that) the attributes were being created first and then

Re: [PATCH] libkmod-module: Remove directory existence check for KMOD_MODULE_BUILTIN

2015-02-18 Thread Lucas De Marchi
On Thu, Feb 19, 2015 at 12:25 AM, Rusty Russell ru...@rustcorp.com.au wrote: Lucas De Marchi lucas.de.mar...@gmail.com writes: On Wed, Feb 18, 2015 at 8:40 PM, Rusty Russell ru...@rustcorp.com.au wrote: Lucas De Marchi lucas.de.mar...@gmail.com writes: On Wed, Feb 18, 2015 at 2:07 AM, Rusty

Re: [PATCH] libkmod-module: Remove directory existence check for KMOD_MODULE_BUILTIN

2015-02-18 Thread greg KH
On Wed, Feb 18, 2015 at 11:19:14PM -0200, Lucas De Marchi wrote: On Wed, Feb 18, 2015 at 8:40 PM, Rusty Russell ru...@rustcorp.com.au wrote: Lucas De Marchi lucas.de.mar...@gmail.com writes: On Wed, Feb 18, 2015 at 2:07 AM, Rusty Russell ru...@rustcorp.com.au wrote: Yeah, I just thought

Re: [PATCH] libkmod-module: Remove directory existence check for KMOD_MODULE_BUILTIN

2015-02-17 Thread Harish Jenny Kandiga Nagaraj
On Wednesday 18 February 2015 09:37 AM, Rusty Russell wrote: > Lucas De Marchi writes: >> On Tue, Feb 17, 2015 at 10:56 AM, Harish Jenny K N >> wrote: >>> usecase: two sd cards are being mounted in parallel at same time on >>> dual core. example modules which are getting loaded is nls_cp437.

Re: [PATCH] libkmod-module: Remove directory existence check for KMOD_MODULE_BUILTIN

2015-02-17 Thread Rusty Russell
Lucas De Marchi writes: > On Tue, Feb 17, 2015 at 10:56 AM, Harish Jenny K N > wrote: >> usecase: two sd cards are being mounted in parallel at same time on >> dual core. example modules which are getting loaded is nls_cp437. >> While one module is being loaded , it starts creating sysfs files.

Re: [PATCH] libkmod-module: Remove directory existence check for KMOD_MODULE_BUILTIN

2015-02-17 Thread Lucas De Marchi
On Tue, Feb 17, 2015 at 10:56 AM, Harish Jenny K N wrote: > usecase: two sd cards are being mounted in parallel at same time on > dual core. example modules which are getting loaded is nls_cp437. > While one module is being loaded , it starts creating sysfs files. > meanwhile on other core,

Re: [PATCH] libkmod-module: Remove directory existence check for KMOD_MODULE_BUILTIN

2015-02-17 Thread Harish Jenny Kandiga Nagaraj
On Wednesday 18 February 2015 09:37 AM, Rusty Russell wrote: Lucas De Marchi lucas.de.mar...@gmail.com writes: On Tue, Feb 17, 2015 at 10:56 AM, Harish Jenny K N harish_kand...@mentor.com wrote: usecase: two sd cards are being mounted in parallel at same time on dual core. example modules

Re: [PATCH] libkmod-module: Remove directory existence check for KMOD_MODULE_BUILTIN

2015-02-17 Thread Rusty Russell
Lucas De Marchi lucas.de.mar...@gmail.com writes: On Tue, Feb 17, 2015 at 10:56 AM, Harish Jenny K N harish_kand...@mentor.com wrote: usecase: two sd cards are being mounted in parallel at same time on dual core. example modules which are getting loaded is nls_cp437. While one module is being

Re: [PATCH] libkmod-module: Remove directory existence check for KMOD_MODULE_BUILTIN

2015-02-17 Thread Lucas De Marchi
On Tue, Feb 17, 2015 at 10:56 AM, Harish Jenny K N harish_kand...@mentor.com wrote: usecase: two sd cards are being mounted in parallel at same time on dual core. example modules which are getting loaded is nls_cp437. While one module is being loaded , it starts creating sysfs files. meanwhile