mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Steven Rostedt <rostedt@goodmis.org>
To: Dinesh Ahuja <mdlinux7@yahoo.co.in>
Cc: linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: Share Wait Queue between different modules ?
Date: Mon, 16 May 2005 13:01:35 -0400	[thread overview]
Message-ID: <1116262895.10107.1.camel@localhost.localdomain> (raw)
In-Reply-To: <20050516151107.62046.qmail@web8502.mail.in.yahoo.com>

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



  reply	other threads:[~2005-05-16 17:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-16 15:11 Dinesh Ahuja
2005-05-16 17:01 ` Steven Rostedt [this message]
2005-05-18 15:02 Dinesh Ahuja
2005-05-18 15:45 ` Steven Rostedt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1116262895.10107.1.camel@localhost.localdomain \
    --to=rostedt@goodmis.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mdlinux7@yahoo.co.in \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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