Re: inter module comm in linux kernel

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

 



On Fri, Jul 29, 2005 at 12:37:38PM +0530, Pinaki basu wrote:
> I have 2 modules and i would like to know any Inter module comm.
> mechanism
> is present in kernel modular programming.(not inter process comm).
> is it possible to comm two module without using shared memory or fifo etc.

If module #1 exports some of its functions with EXPORT_SYMBOL(), module
#2 could just call those functions. Same holds for variables.

> plese give me some idea about that & give some source code for that.

See how the Ext3 filesystem (fs/ext3/) uses the journal_* symbols from
fs/jbd/.


Erik

-- 
Erik Mouw
J.A.K.Mouw@xxxxxxxxxxxxxx  mouw@xxxxxxxxxxxx

Attachment: signature.asc
Description: Digital signature


[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