lkml.org 
[lkml]   [2000]   [Aug]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: If loadable modules are covered by Linux GPL?
On 29 Aug 2000, Stuart Lynne wrote:

> >I think this needs to be resolved ASAP. I don't have kernel sources handy,
> >so I cannot tell you whether the functions are actually worth being
> >protected (inb/outb doesn't belong to this group really),

> If it is in the header file I think it should be open for use.

I'd think so, too, but alas it isn't that easy.

> There was another thread a few days ago commenting that modern
> processors may actually be a bit faster with less inlined code and
> unrolled loops. Which> may mean that a lot of what is now inlined may
> be better off compiled in.

Yes, inlined code is slower if the routine is called so often that it
would stay cached between two invocations, and unrolled loops only make
sense for iterative algorithms, where you can fold the instructions
better. Many inlined code in the kernel consists of single
instructions, however, so making them single calls would add much
overhead.

Simon

--
PGP public key available from http://phobos.fs.tum.de/pgp/Simon.Richter.asc
Fingerprint: 10 62 F6 F5 C0 5D 9E D8 47 05 1B 8A 22 E5 4E C1
Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!

-
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.057 / U:42.308 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site