Re: Kernel profile

Mark.Hemment@uniplex.co.uk
Tue, 30 Jul 96 13:12:54 +0100


Michael wrote:
> 001224a8 get_empty_filp 1085911 4378.6734 14.50
> And guess what: get_empty_filp does a linear search. :(

>Any ideas for dramatic speed improvements? :)

Take a look at slab-01.diff.gz (and slab-0.1.readme), in
ftp://ftp.lmh.ox.ac.uk/linux-kernel-patch-archive. While this
patch isn't specifically designed to improve the speed of
get_empty_filp(), I think it may do (slightly).

WARNING: The patch is v. much developement code, so think
twice (and then think again) before applying it to a
production system!!!!

markhe