LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   where posix message queues will allocate memory in linux (https://www.linuxquestions.org/questions/linux-newbie-8/where-posix-message-queues-will-allocate-memory-in-linux-4175475120/)

A.sandhyarani 08-29-2013 02:39 AM

where posix message queues will allocate memory in linux
 
where posix message queues will allocate memory in linux?

jpollard 08-29-2013 04:14 AM

Somewhere in kernel memory.

Why do you need to know?

A.sandhyarani 08-29-2013 04:23 AM

I am using message queues in my project.i want to know how it will allocate memory?means it will allocate memory statically or dynamically?sorry for my bad english.

A.sandhyarani 08-29-2013 04:29 AM

Quote:

Originally Posted by jpollard (Post 5018070)
Somewhere in kernel memory.

Why do you need to know?

am using message queues in my project.i want to know how it will allocate memory?means it will allocate memory statically or dynamically?sorry for my bad english.

jpollard 08-29-2013 08:04 AM

Quote:

Originally Posted by A.sandhyarani (Post 5018078)
am using message queues in my project.i want to know how it will allocate memory?means it will allocate memory statically or dynamically?sorry for my bad english.

According to the manpage, they will be created dynamically up to the defined limit. You can get more reference information from "man mq_overview", which covers the Linux specifics on resource usage, tuning controls, and usage.


All times are GMT -5. The time now is 01:35 AM.