lkml.org 
[lkml]   [2000]   [Jan]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [idea] request_module(const char *fmt, ...);
> > Except in exceptional cases, run-time performance is far more important than
> > compilation time, surely?
>
> those exceptional cases, e.g. loading a binary will be given a bit more
> thought and performance analysis. If we find less than 0.01% degradation
> then the beauty argument wins. (I hope).

actually I thought you meant the opposite, i.e. in exceptional cases run
time performance is more important than compilation time, which is why I
gave loading a binary example. In all other cases (e.g. requesting a
module when opening a device an extra function call is exactly what I
called it - "almost nothing"). In cases where it adds substantial overhead
of re-walking through the entire list (e.g. get_fs_type which walks
through file_systems) the caller should (and does) check the return from
request_module() and only does the extra work if it is == 0.

Regards,
Tigran.


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

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.675 / U:0.168 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site