Re: [PATCH] IA32 SMP spinlock metering

Andi Kleen (ak@muc.de)
06 Oct 1999 02:06:45 +0200


cel@monkey.org (Chuck Lever) writes:

> On Tue, 5 Oct 1999, John Hawkes wrote:
> > Further investigation using hold-time analysis showed that the biggest
> > kernel_flag pig in 2.3.11 is sys_close(), which holds the kernel_flag for as
> > long as 10-13 milliseconds (on a 400 MHz Xeon CPU) on a regular basis.
>
> sys_open, sys_close, and the *stat system calls can hold the kernel lock
> for a long time. i believe that adding separate locking for the dentry
> cache and cleaning up locking in the file system will help this. is
> anyone working on these projects? will this work appear in 2.4, or is it
> a 2.5 project? thanks for any info.

I played a bit with threading dentry.c, but without recursive locks dput() et.al.
will need some restructuring to avoid lock deadlocks.

-Andi

-- 
This is like TV. I don't like TV.

- 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/