Messages in this thread | | | Date | Wed, 18 May 2005 16:02:00 +0100 (BST) | From | Dinesh Ahuja <> | Subject | Re: Share Wait Queue between different modules ? |
| |
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 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |