lkml.org 
[lkml]   [2000]   [Feb]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: freeing a static after one use only?
On Fri, Feb 18, 2000 at 02:01:53PM +0000, Anton Altaparmakov wrote:
> On Fri, 18 Feb 2000, Peter T. Breuer wrote:
> [snip]
> > Modules are apparently in a space that can be swapped out. Should I
> [snip]
>
> Is that always the case? - Or would it happen only if the ref count is 0?
>
> I'm asking because I am currently writting a driver for a pci card (just
> started) and if the module were to be swapped out when it was doing a
> busmaster transfer I could imagine the computer crashing...I am sure this
> would be the case with most modules providing important hwaccess system
> services.
>
> Sorry if the answer to my question is obvious but I am fairly new to
> linux kernel development. - Feel free to point out where I can find some
> information about this...

Modules can't be swapped out. They're kernel. Imagine a module for SCSI
being swapped out on a SCSI disk. No way to get it back. ;)

--
Vojtech Pavlik
SuSE Labs

-
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:56    [W:0.065 / U:0.244 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site