Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Mar 2004 14:28:07 -0500 (EST)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        "Brian F. Feldman" <green@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:    Re: cvs commit: src/sys/nfsserver nfs.h nfs_srvsock.c nfs_srvsubs.c 
Message-ID:  <Pine.NEB.3.96L.1040307142423.2700A-100000@fledge.watson.org>
In-Reply-To: <200403071650.i27GoRkA025174@green.homeunix.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On Sun, 7 Mar 2004, Brian F. Feldman wrote:

> Alexander Kabaev <kan@FreeBSD.org> wrote:
> > kan         2004/03/07 08:28:31 PST
> > 
> >   FreeBSD src repository
> > 
> >   Modified files:
> >     sys/nfsserver        nfs.h nfs_srvsock.c nfs_srvsubs.c 
> >   Log:
> >   Convert from timeout to callout API.
> >   
> >   Submitted by: rwatson
> 
> Does this "fix" the 1KHz interrupts?

Unfortunately, no.  That will require some changes to the NFS code, but
it's not clear how substantial changes are required.  Right now, the
NFS/RPC code polls a workqueue to see if work needs to happen.  With a bit
of restructuring, it could move to a more scheduled model, where it relies
on callout() to schedule things when they need to happen and maintains a
queue or heap of work items.  One of the nice things about the callout
interface is that it makes the MPSAFE choice explicit to the consumer of
the interface...

Another problem with the NFS code is that each of these callouts requires
Giant; removing Giant from these callouts is another good thing to work
on.

Robert N M Watson             FreeBSD Core Team, TrustedBSD Projects
robert@fledge.watson.org      Senior Research Scientist, McAfee Research




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1040307142423.2700A-100000>