[OpenAFS] jafs et al

Jeffrey Hutzelman jhutz@cmu.edu
Tue, 13 Mar 2007 21:18:54 -0400


On Tuesday, March 13, 2007 08:07:42 PM -0500 Marcus Watts <mdw@umich.edu> 
wrote:

> 	user vs kernel mode vs. "user kernel" mode

Actually, we don't really have this dimension.  No libraries are built for 
kernel-mode code; any code the kernel module requires from the rest of the 
tree is built separately and linked directly into the kernel module.  The 
situation is similar for libuafs, though the other dimensions certainly 
exist for that library as a whole.

Personally, I'd like to see a consistent set of libraries available in all 
six forms (lwp/pthread x shared/pic/nonpic).  However, note that for many 
of our libraries, building pthread versions is more complex than just 
changing a few compiler switches -- there is still a lot of code in AFS 
which assumes that context switches can only happen at very specific points.

-- Jeff