Re: replacement for MOD_{INC|DEC]_USE in 2.6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Le ven 23/07/2004 à 12:19, Arthur Othieno a écrit :
> On Fri, Jul 23, 2004 at 12:45:30PM +0200, chgans wrote:
> > Hi all,
> > 
> > I would know which is the replacement for the MOD_{INC|DEC]_USE since
> > they are deprecated in 2.6 series.
> 
> try_module_get()/module_put()
> 
> > I've got 2 modules, the second is using the first so i want to
> > MOD_INC_USE_COUNT in the first when the second call a register function.
> >
> > Any point out will be apreciated.
>  
> More details of their usage may be gleaned from include/linux/module.h
> and http://lwn.net/Articles/22197/

Thanks, i found this one too:
http://people.redhat.com/zaitcev/notes/rusty_mod_faq.news

thanks.
Christian

> 
> 	Arthur
> 
> --
> Kernelnewbies: Help each other learn about the Linux kernel.
> Archive:       http://mail.nl.linux.org/kernelnewbies/
> FAQ:           http://kernelnewbies.org/faq/
-- 
S'il vous plaît, évitez de m'envoyer des attachements au format Word ou PowerPoint.
Microsoft peut (et l'a fait récemment au Kenya et au Brésil) disposer de forces de polices locales pour faire respecter des lois qui interdisent aux étudiants d'analyser le code, qui interdisent à des entrepreneurs de construire de nouvelles sociétés, et qui interdisent à des professionnels d'offrir leurs services. S'il vous plaît, n'apportez pas votre support à ces actions!
Voir http://www.fsf.org/philosophy/no-word-attachments.fr.html
--
chgans AT tuxfamily DOT org
http://home.gna.org/wisirc/


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux