mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: Share Wait Queue between different modules ?
@ 2005-05-18 15:02 Dinesh Ahuja
  2005-05-18 15:45 ` Steven Rostedt
  0 siblings, 1 reply; 4+ messages in thread
From: Dinesh Ahuja @ 2005-05-18 15:02 UTC (permalink / raw)
  To: Steven Rostedt; +Cc: linux-kernel

Thanks Steven for answer.

Could please tell me know how to share wait queue
between different modules and where will be pratical
implementation of that case.

Regards
Dinesh

--- Steven Rostedt <rostedt@goodmis.org> wrote:
> On Mon, 2005-05-16 at 16:11 +0100, Dinesh Ahuja
> wrote:
> > 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?
> 
> > 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.
> 
> > 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
> 
> 
> 

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

^ permalink raw reply	[flat|nested] 4+ messages in thread
* Share Wait Queue between different modules ?
@ 2005-05-16 15:11 Dinesh Ahuja
  2005-05-16 17:01 ` Steven Rostedt
  0 siblings, 1 reply; 4+ messages in thread
From: Dinesh Ahuja @ 2005-05-16 15:11 UTC (permalink / raw)
  To: linux-kernel

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-05-18 15:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-18 15:02 Share Wait Queue between different modules ? Dinesh Ahuja
2005-05-18 15:45 ` Steven Rostedt
  -- strict thread matches above, loose matches on Subject: below --
2005-05-16 15:11 Dinesh Ahuja
2005-05-16 17:01 ` Steven Rostedt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome