]> git.neil.brown.name Git - history.git/commit
[PATCH] convert file_lock to a spinlock
authorAndrew Morton <akpm@digeo.com>
Sat, 12 Apr 2003 19:56:37 +0000 (12:56 -0700)
committerJames Bottomley <jejb@raven.il.steeleye.com>
Sat, 12 Apr 2003 19:56:37 +0000 (12:56 -0700)
commita413a276a079b9a8f125f921e055b908b95f8251
tree19263efb786a990b31e70e93654a0db73fd45432
parent300c26525d4d64338c61d8f2fc776370afc534d6
[PATCH] convert file_lock to a spinlock

Time to write a 2M file, one byte at a time:

Before:
        1.09s user 4.92s system 99% cpu 6.014 total
        0.74s user 5.28s system 99% cpu 6.023 total
        1.03s user 4.97s system 100% cpu 5.991 total

After:
0.79s user 5.17s system 99% cpu 5.993 total
0.79s user 5.17s system 100% cpu 5.957 total
0.84s user 5.11s system 100% cpu 5.942 total
drivers/char/tty_io.c
fs/exec.c
fs/fcntl.c
fs/file.c
fs/file_table.c
fs/open.c
fs/proc/base.c
fs/select.c
include/linux/file.h
include/linux/init_task.h
kernel/fork.c