From: Zach Brown <email@example.com>
Cc: Linus Torvalds <firstname.lastname@example.org>,
Ingo Molnar <email@example.com>, Ulrich Drepper <firstname.lastname@example.org>,
Arjan van de Ven <email@example.com>,
Andrew Morton <firstname.lastname@example.org>,
Alan Cox <email@example.com>,
Evgeniy Polyakov <firstname.lastname@example.org>,
"David S. Miller" <email@example.com>,
Suparna Bhattacharya <firstname.lastname@example.org>,
Davide Libenzi <email@example.com>,
Jens Axboe <firstname.lastname@example.org>,
Thomas Gleixner <email@example.com>,
Dan Williams <firstname.lastname@example.org>,
Jeff Moyer <email@example.com>,
Simon Holm Thogersen <firstname.lastname@example.org>,
Subject: syslets v7: back to basics
Date: Thu, 6 Dec 2007 15:20:13 -0800 [thread overview]
Message-ID: <email@example.com> (raw)
The following patches are a substantial refactoring of the syslet code. I'm
branding them as the v7 release of the syslet infrastructure, though they
represent a signifiant change in focus.
My current focus is to see the most fundamental functionality brought to
maturity. To me, this means getting a ABI that is used by applications through
glibc on x86 and PPC64. Only once that is ready should we distract ourselves
with advanced complexity.
To that end, this patch series differs from v6 in significant ways:
* syslets are initiated by providing syslet arguments to sys_indirect().
* uatoms, threadlets, and the kaio changes are postponed until they can be
justified and rebuilt on more complete infrastructure. (I'm not saying
these shouldn't or won't be persued. I'm saying that we should get the
simplest piece working first.)
* the code is clarified and commented, the patches are bisectable and pass
The use of sys_indirect() and the move from 'atom's simplified the ABI
considerably. I've put a trivial example in a syslet-userspace git tree:
This git repository will grow more tests and documentation over time.
The patches sent with this mail are based on the v6 indirect patches but they
aren't included. The full syslets patch series, including the indirect
patches, are available in a few forms:
broken out patch series:
in a 'syslets' git branch off of current linux-2.6.git:
git tree of the guilt .git/patches directory:
The patches were barely tested on i386 and x86_64.
There are both implementation details and design problems left. My hope is
that we can address these in the coming weeks.
- Do we stop the user from initiating more syslets than fit in the ring?
- Do we worry now about the hashed ring mutexes scaling poorly? (They will.)
- What are the semantics of ptrace()ing a syslet submission which blocks?
- How should applications deal with waiting syslet tasks with stale data
in their task_struct? (syslet, setuid, syslet..)
- Issuing a syslet is an implicit sys_clone(), will apps pass in clone flags?
- Are the u32 ring index reads and writes atomic for supported architectures?
Any feedback on these questions would be greatly appreciated.
I'm particularly interested in hearing from people who are trying to use
syslets in their applications. This will involve awkward wrappers instead of
glibc calls for now, and your machine may explode, but hopefully the chance to
influence the design of syslets would make it worth the effort.
Finally, I carried the enormous cc: list for this mail over from previous
syslet releases. If you want to be removed or added to the list for future
syslet releases, please do let me know.
next reply other threads:[~2007-12-06 23:20 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-06 23:20 Zach Brown [this message]
2007-12-06 23:20 ` [PATCH 1/6] indirect: use asmlinkage in i386 syscall table prototype Zach Brown
2007-12-06 23:20 ` [PATCH 2/6] syslet: asm-generic support to disable syslets Zach Brown
2007-12-06 23:20 ` [PATCH 3/6] syslet: introduce abi structs Zach Brown
2007-12-06 23:20 ` [PATCH 4/6] syslets: add indirect args Zach Brown
2007-12-06 23:20 ` [PATCH 5/6] syslets: add generic syslets infrastructure Zach Brown
2007-12-06 23:20 ` [PATCH 6/6] syslets: add both 32bit and 64bit x86 syslet support Zach Brown
2007-12-07 11:55 ` [PATCH 5/6] syslets: add generic syslets infrastructure Evgeniy Polyakov
2007-12-07 18:24 ` Zach Brown
2008-01-09 2:03 ` Rusty Russell
2008-01-09 3:00 ` Zach Brown
2008-01-09 3:48 ` Rusty Russell
2008-01-09 18:16 ` Zach Brown
2008-01-09 22:04 ` Rusty Russell
2008-01-09 22:58 ` Linus Torvalds
2008-01-09 23:05 ` Linus Torvalds
2008-01-09 23:47 ` Zach Brown
2008-01-10 1:18 ` Rusty Russell
2008-01-09 23:15 ` Davide Libenzi
2008-01-10 5:41 ` Jeff Garzik
2007-12-08 12:40 ` [PATCH 1/6] indirect: use asmlinkage in i386 syscall table prototype Simon Holm Thøgersen
2007-12-08 21:22 ` Zach Brown
2007-12-08 12:52 ` [PATCH] Fix casting on architectures with 32-bit pointers/longs Simon Holm Thøgersen
2007-12-10 19:46 ` syslets v7: back to basics Jens Axboe
2007-12-10 21:30 ` Phillip Susi
2007-12-10 22:15 ` Zach Brown
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).