lkml.org 
[lkml]   [1999]   [Jun]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectunfsd anyone ?
In article <5l909l5t33.fsf@tequila.cs.yale.edu> you write:
> Why is nfsd in the kernel ?
> unfsd had some problems, but were they due to its being user-level
> or were they just due to its own design ?

It is a matter of context-switching and race conditions. With knfsd, you
avoid many switches, and, moreover, the multiple nfsd threads may much
more easily cooperate.

All major unixes use some magic hook in the kernel for nfs servers:
for instance, BSD uses the nfssvc() system call.

Therefore knfsd is considered as "the way to go".

--Thomas Pornin

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:52    [W:0.033 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site