?

Log in

No account? Create an account
"Generic AIO by scheduling stacks" - brad's life [entries|archive|friends|userinfo]
Brad Fitzpatrick

[ website | bradfitz.com ]
[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

"Generic AIO by scheduling stacks" [Jan. 30th, 2007|02:55 pm]
Brad Fitzpatrick
[Tags|, ]

Zach Brown just posted to lkml (a few minutes ago) ...

[PATCH 0 of 4] Generic AIO by scheduling stacks

It's a syscall to submit syscalls to run async. Then another syscall to async gather the results of the submitted syscalls as they complete. One of the most wonderful things I've seen in awhile! Any syscall!

And I'm especially happy that Linus loves it, so we should expect to see it sooner than later in real kernels.

Yay!
LinkReply

Comments:
[User Picture]From: midendian
2007-01-31 12:08 am (UTC)
yay
(Reply) (Thread)
[User Picture]From: hawk
2007-01-31 01:15 am (UTC)
Zach Brown from Aloha? He's back in Portland, yeah? I need to have a beer with that man...
(Reply) (Thread)
[User Picture]From: brad
2007-01-31 01:55 am (UTC)
Not sure if he's from Aloha... the name doesn't ring a bell as somebody I knew.
(Reply) (Parent) (Thread)
[User Picture]From: hawk
2007-01-31 11:58 pm (UTC)
Yup. Same guy. He was a year ahead of me. Vanished off to Canada for a while, got married, and now I believe they live in Portland. I see him now and again, far less often than I'd like. If you haven't met him I should try to introduce you over the holidays. Or introduce yourself, for that matter. He's a great guy, very chill, and obviously a solid geek. His father is also sort of famous.
(Reply) (Parent) (Thread)
[User Picture]From: dossy
2007-01-31 01:57 am (UTC)
Kernel-space threading?

"Fibrils"? Didn't the Windows folks call these "fibers"?

As Linus said--the design is obvious, but the odds of a correct implementation are low. Threads are hard to get right. Userland AIO via kernel threads is great in principle, but I'll be surprised to see it done right in practice.

Still, I'd rather a relatively clued kernel hacker try to write the code than your J. Average Codemonkey try to do it in userspace with pthreads.
(Reply) (Thread)
[User Picture]From: eqe
2007-01-31 03:24 am (UTC)
Zach makes my brane explode.
(Reply) (Thread)
From: ext_9734
2007-01-31 05:54 am (UTC)
Dude. This freaking hot. Hot hot hot hot hot!

It makes me want to start on httpd 3.0... async everything. mmmmm.
(Reply) (Thread)