Re: SD still better than CFS for 3d ?(was Re: 2.6.23-rc1)

Trond Myklebust
2007-08-02T13:39:31Z

On Thu, 2007-08-02 at 13:45 +0200, Ingo Molnar wrote:
> * Lee Revell <rlrevell@joe-job.com> wrote:
>
> > On 7/31/07, Ingo Molnar <mingo@elte.hu> wrote:
> > > Almost all of the Reiser3
> > > code runs under the BKL, and the only other major kernel infrastructure
> > > that has BKL dependencies is the TTY code.
> >
> > Also NFS:
> >
> > $ grep -rIi lock_kernel kernel-source/linux-2.6.17/fs/nfs/ | wc -l
> > 94
>
> yeah - but i never saw NFS cause really big BKL latencies. IIRC it uses
> the BKL mostly for archaic reasons, most of the NFS code is SMP-safe.
> Almost all of the reiser3 code runs under the BKL on the other hand.

We're still working on fixing the NFS case, but as everyone knows,
finding those last few obscure code sections which still depend on BKL
protection can be tedious work...

Trond