Re: Share Wait Queue between different modules ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux