Date: Wed, 7 Nov 2001 20:09:04 -0500 (EST) From: Robert Watson <rwatson@FreeBSD.org> To: Julian Elischer <julian@elischer.org> Cc: freebsd-arch@FreeBSD.org Subject: Re: Changing req->p to req->td in sysctl Message-ID: <Pine.NEB.3.96L.1011107200658.51554A-100000@fledge.watson.org> In-Reply-To: <Pine.BSF.4.21.0111071606110.71994-100000@InterJet.elischer.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 7 Nov 2001, Julian Elischer wrote: > On Wed, 7 Nov 2001, Robert Watson wrote: > > > I should mention that both GENERIC and LINT build fine, but that I wasn't > > sure what to do about the use of req->p in netsmb/netncp. Both appear > > still to use pre-KSE struct proc all over the place, altough the .h files > > have been updated (?). I'd be happy to try to update them to post-KSE, > > although I don't use either so can't test them. > > netsmb and netncp, along with smbfs and nwfs are the two modules that > defeated me in trying to change them to a threaded model. This is > because they have some idea of a "session" but it is not clear to me > that whether a session is a "per thread or Per process" thing. Hmm. Well, I'll go ahead and commit my patch as is, and push the thread pointers down into if_ioctl, which will let me expunge a number of curproc references (and continue moving us towards td_ucred). If time permits, I'll look some more at the ncp/smb code, but given its complexity, I'm not sure how much progress I can make. So if someone wants to pick up on this, that would be great--we certainly don't want to let these fall by the wayside for much longer. Robert N M Watson FreeBSD Core Team, TrustedBSD Project robert@fledge.watson.org NAI Labs, Safeport Network Services To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1011107200658.51554A-100000>