Re: freeing a static after one use only?

From: Anton Altaparmakov (aia21@cus.cam.ac.uk)
Date: Fri Feb 18 2000 - 09:01:53 EST


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/



This archive was generated by hypermail 2b29 : Wed Feb 23 2000 - 21:00:21 EST