[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Thread model (was: Ext2 superblock fault)
From: |
Michal Suchanek |
Subject: |
Re: Thread model (was: Ext2 superblock fault) |
Date: |
Wed, 19 Mar 2008 16:55:48 +0100 |
On 19/03/2008, Samuel Thibault <samuel.thibault@ens-lyon.org> wrote:
>
> Yes, that's what I meant actually: the diskfs_sync_everything() function
> is able to trigger a lot of thread creations.
>
> A way to have things work correctly would be by marking threads with a
> "level", i.e. diskfs_sync_everything runs at level 0, threads that it
> generates run at level 1, and threads that process their page faults run
> at level 2, etc. Then we just need to limit the number of threads for a
> given level. That should always permit termination of requests, while
> still limiting the number of thread to a constant times the maximum
> nesting of page faults.
>
How would you increase the level?
Would that mean that some initial process is level 1, login level 2, a
user process started from top level shell level 3, from window manager
level n >> 3?
Or does the level increase only when the thread goes through some page
fault port? How many levels can result from this?
Thanks
Michal
- Re: Thread model, (continued)
- Re: Thread model, olafBuddenhagen, 2008/03/17
- Re: Thread model, Neal H. Walfield, 2008/03/17
- Re: Thread model, olafBuddenhagen, 2008/03/18
- Re: Thread model, Thomas Bushnell BSG, 2008/03/19
- Re: Thread model, olafBuddenhagen, 2008/03/19
- Re: Thread model (was: Ext2 superblock fault), Samuel Thibault, 2008/03/11
- Re: Thread model (was: Ext2 superblock fault), olafBuddenhagen, 2008/03/17
- Re: Thread model (was: Ext2 superblock fault), Samuel Thibault, 2008/03/17
- Re: Thread model (was: Ext2 superblock fault), olafBuddenhagen, 2008/03/18
- Re: Thread model (was: Ext2 superblock fault), Samuel Thibault, 2008/03/19
- Re: Thread model (was: Ext2 superblock fault),
Michal Suchanek <=
- Re: Thread model (was: Ext2 superblock fault), Samuel Thibault, 2008/03/19
- Re: Thread model (was: Ext2 superblock fault), olafBuddenhagen, 2008/03/19
- Re: Thread model (was: Ext2 superblock fault), Thomas Bushnell BSG, 2008/03/17
- Re: Thread model (was: Ext2 superblock fault), Samuel Thibault, 2008/03/17