lkml.org 
[lkml]   [1996]   [Jun]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Driver optimization.
On Sun, 30 Jun 1996, Rogier Wolff wrote:
> I was reading some NT sources (No, please don't shoot me :-), and
> found something that Linux should've had for quite a while now.
>
> Initialization code is interspersed with the actual driver code.
> I think that the phrase
>
> #pragma alloc_text(INIT,ParInitializeDeviceObject)
>
> in then NT sources means that the routine ParInitializeDeviceObject
> will be allocated in a special segment called "INIT".
>
> If strict (*) rules about these are kept, we could even free the
> memory associated with initializing the system...... Otherwise,
> having them together increases cache performance.

We have discussed this a few times already. I brought this topic up
for the first time during the Linux developers conference in 95 in Berlin
in a discussion with Eric, Drew and later Alan.

At that time ELF support wasn't developed and widespead enough to
implement this. Now that almost everyone is usning ELF we can go
this up again. I think Eric has still some code for this which he wrote
as a result of our discussion at that time.

Mike

Michael Neuffer i-Connect.Net, a Division of iConnect Corp.
mike@i-Connect.Net 14355 SW Allen Blvd., Suite 140
503.677.2900 Beaverton, OR 97008



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