delphij's Chaos

选择chaos这个词是因为~~实在很难找到一个更合适的词来形容这儿了……

06 Mar 2004

sysctl spining fixed

Don Lewis (truckman@) has committed a fix for the sysctl spinning problem I mentioned here some days before. Currently, beastie.frontfree.net is running a workaround which made it possible to skip the deadlock, however, will not guarantee the correct result.

This commit actually backed out part of changes in:

src/sys/kern/kern_sysctl.c 1.150
src/sys/vm/vm_extern.h 1.69
src/sys/vm/vm_glue.c 1.190
src/sys/vm/vm_mmap.c 1.179

Which was intend to simplify and merge mlock/munlock calls with munlock/vsunlock.

I will restart beastie.frontfree.net as soon as this patch is successfully applied and tested.