Ok race #1 for SMP. If you put the lock around it all then you still have to
worry about the SMP case of
if(blah->files[n]!=NULL && /* other CPU swaps here *.
blah->files[n]...)
theres a lot of those in the kernel and some are quite time critical ones
(having said that having 300K more RAM is for most users going to make it
far faster). All of these cases need to be wrapped up where they are not
already