lkml.org 
[lkml]   [2000]   [Sep]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: SCSI scanning


On Sun, 17 Sep 2000, Torben Mathiasen wrote:
>
> The proper way of fixing this is to add #ifdef MODULE around the init
> functions or going back to init/exit_module.

Please explain why it does it twice for compiled-in, and only once for
modules. There must be some other logic that does the extra
initializations (and that does not trigger for modules), and I'd much
rather just get rid of THAT thing instead.

I don't like it that modules behave differently from built-in. You're
suggesting I make them even _more_ different, so that the end result would
be similar. I'd like to know why we cannot just make them the exact same
logic, and not break it more.

Basically, there has to be some other place that does the equivalent of

if (!module) init_subsystems();

and I don't see why we can't just remove that one and make modules and
compiled-in behave the same.

Linus

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.052 / U:13.016 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site