linux-mips
[Top] [All Lists]

Re: More on modules...

To: ralf@uni-koblenz.de
Subject: Re: More on modules...
From: Alex deVries <adevries@engsoc.carleton.ca>
Date: Tue, 27 Jan 1998 03:05:05 -0500 (EST)
Cc: "William J. Earl" <wje@fir.engr.sgi.com>, SGI Linux <linux@cthulhu.engr.sgi.com>
In-reply-to: <19980127074155.62514@uni-koblenz.de>
Sender: owner-linux@cthulhu.engr.sgi.com
On Tue, 27 Jan 1998 ralf@uni-koblenz.de wrote:
> On Mon, Jan 26, 1998 at 05:51:40PM -0800, William J. Earl wrote:
> >       I wonder if the kernel is properly synchronzing the I-cache with
> > the D-cache after loading the module.  In general, you need to
> > writeback the primary D-cache and invalidate the primary I-cache for
> > the range of addresses occupied by the driver (or simply
> > index-writeback-invalidate all of the D-cache and index-invalidate all
> > of the I-cache, if the driver is larger than the cache size).  
> 
> Yes, we do that properly.

> Alex, when compiling modules, does the compiler pass the flag -mlong-jumps?

No, but it does compile them with -mlong-calls.

- Alex "damned insomnia" deVries


<Prev in Thread] Current Thread [Next in Thread>