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, 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...

Thanks,

Anton

--

Anton Altaparmakov eMail: AntonA@bigfoot.com
ICQ: 8561279 WWW: http://tmd.ipfox.com/



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