Skip to contentSkip to conversation

Share Wait Queue between different modules ?

DISCUSSION Dinesh Ahuja 2 participants 2 messages May 16, 2005

lore
Share & tools
lore
#0 lore raw

Hi ,

Just trying to explore a situation where different modules may need to share same wait queues. Could anyone tell me the pratical situation where we need to have above mentioned situation ?

Please clarify me on below point :
We say that kernel stack is very much limited around 8KB.
Does all the running processes share this stack or each process has 8KB of the space which process can access when it is running in kernel mode.

Sharing wait queues will be difficult if the kernel space is 8KB for all the ready processes because then the no of wait_queue_t elements which can be added will be limited.

Please clear my concepts over this .

Regards
Dinesh

________________________________________________________________________
Yahoo! India Matrimony: Find your life partner online Go to: http://yahoo.shaadi.com/india-matrimony

#1 lore raw
Quoted 7 lines · Dinesh Ahuja

Hi ,

Just trying to explore a situation where different modules may need to share same wait queues. Could anyone tell me the pratical situation where we need to have above mentioned situation ?

Have an example of this situation?

Quoted 7 lines

Please clarify me on below point :
We say that kernel stack is very much limited around 8KB.
Does all the running processes share this stack or each process has 8KB of the space which process can access when it is running in kernel mode.

The later. Each process has its own kernel stack when in kernel mode.

Quoted 5 lines

Sharing wait queues will be difficult if the kernel space is 8KB for all the ready processes because then the no of wait_queue_t elements which can be added will be limited.

As mentioned above, each process has its own kernel stack.

-- Steve