Re: Sharing memory between two kernel module - Better approach

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

 



On Thu, 02 Aug 2018 23:12:23 +0530, Abhinav Misra said:

> I want to know is there any alternative for sharing the memory between two
> modules.

Why are two modules trying to share memory?  In general, each module should
be managing its own data objects.  If two modules need to share, maybe it really
should be one merged module....

(And note that there's a number of kernel APIs for memory allocation and
management, optimized for various use cases - so "what are you trying to share"
and "why are you trying to share it" actually matter to get the code correct....

Attachment: pgpfvebmLLeNC.pgp
Description: PGP signature

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[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