Re: sock_receive_internal() and its (ab)use of uio
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Brian Bergstrand <http://www.bergstrand.org/brian/> PGP Key ID: 0xB6C7B6A2 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Darwin) iD8DBQFC5s+OedHYW7bHtqIRAh5yAKD2rE1WFWKwX8ILnjAy37LYRq71fgCeMXGO Z5Y4vWZBBmfQOWyln21p87w= =O+kT -----END PGP SIGNATURE----- _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... On Jul 26, 2005, at 6:46 PM, Sam Vaughan wrote: It's not that I don't want to use the KPI, it's just that there are so many areas where things are missing. Sockets are just this week. I'm also trying to deal with setting arbitrary dev_t values in buf_t objects, accessing the try variants and determining the current state of read-write locks, getting a device switch table entry from a major number, interrupting threads sleeping on sockets, timeout/untimeout, thread_abort_safely, ... and that's just the platform support code. Who knows what vfs, vnode lifetime, lookup, mmap and UBC issues still await! I've been porting our Network FS to tiger for the past two months and have run into my own set of KPI deficiencies with the socket KPI and the locking KPI (those try variants need to be exposed and R/W lock state too). I've opened Radars and talked with Josh at WWDC, but just wanted to reinforce Sam's experiences with what the KPI lacks. I've not run into any real problems with the VFS KPI, and we don't use buf_t's so I can't comment on that interface. Finally, I want to say thanks to Josh and everyone else from Apple for the replies to this list, they are very helpful. This email sent to site_archiver@lists.apple.com
participants (1)
-
Brian Bergstrand