sysctl spining fixed

• 本文约 81 字,阅读大致需要 1 分钟 | *nix and Win32 Kernel

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.