Query On Memory Allocation

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

 



Dear All,

  In the network layer implementation, how the memory
management is being taken care of? Because if you
allocate a memory whenever you recieve a packet, by
calling malloc (which is a blocking call) it will take
lot of time to process a packet. So is there any
preallocated memory pool or memory pool which will be
initialised at system startup from where the memory
will be taken? Can anyone explain me how it is being
taken care in Linux.

Thanx in advance,
Sudhakar.

__________________________________________________
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!
http://mail.yahoo.com/
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
IRC Channel:   irc.openprojects.net / #kernelnewbies
Web Page:      http://www.kernelnewbies.org/


[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