> The only thing I saw in Zach's post against the use of threads is thatHaha, yeah, that's the silly example I keep throwing around :). I guess it does leave a little too much of the exercise up to the reader. Perhaps a less goofy example are the uses of current->ioprio and current->io_context? If you create and destroy threads around each operation then you're going to be creating and destroying an io_context around each op instead of getting a reference on a pre-existing context in additional ops. ioprio is inherited it seems, though, so that's not so bad. If you have a pool of threads and you want to update the ioprio for future IOs, you now have to sync up the pool's ioprio with new desired priority. It's all solvable, sure. Get an io_context ref in copy_process(). Share ioprio instead of inheriting it. Have a fun conversation with Jens about the change in behaviour this implies. Broadcasting to threads to update ioprio isn't exactly rocket science. But with the fibril model the user don't have to know to worry about the inconsistencies and we kernel developers don't have to worry about pro-actively stamping them out. A series of sync write and ioprio setting calls behaves exactly the same as that series of calls issued sequentially as "async" calls. That's worth aiming for, I think. - z -
| Ian Campbell | Re: [PATCH] x86: Construct 32 bit boot time page tables in native format. |
| Greg Kroah-Hartman | [PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO |
| Justin Piszcz | Linux Software RAID 5 Performance Optimizations: 2.6.19.1: (211MB/s read & 195... |
| Alan | Re: [RFC] Heads up on sys_fallocate() |
| Matthias Scheler | Re: HEADS UP: timecounters (branch simonb-timecounters) merged into -current |
| David Laight | long usernames |
| Quentin Garnier | Re: Understanding foo_open, foo_read, etc. |
| Jared D. McNeill | Breaking binary compatibility for /dev/joy |
git: | |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Gerrit Renker | [PATCH 0/37] dccp: Feature negotiation - last call for comments |
| David Miller | [GIT]: Networking |
| Natalie Protasevich | [BUG] New Kernel Bugs |
