> On Jul 5, 2016, at 03:08, Bruce Evans <b...@optusnet.com.au> wrote: > > On Sun, 3 Jul 2016, Konstantin Belousov wrote: > > This is mostly a test reply (replying to src-committers has stopped > working for newer commits). > >> Log: >> Provide helper macros to detect 'non-silent SBDRY' state and to >> calculate appropriate return value for stops. Simplify the code by >> using them. >> >> Fix typo in sig_suspend_threads(). The thread which sleep must be >> aborted is td2. (*) >> >> In issignal(), when handling stopping signal for thread in >> TD_SBDRY_INTR state, do not stop, this is wrong and fires assert. >> This is yet another place where execution should be forced out of >> SBDRY-protected region. For such case, return -1 from issignal() and >> translate it to corresponding error code in sleepq_catch_signals(). >> Assert that other consumers of cursig() are not affected by the new >> return value. (*) >> >> Micro-optimize, mostly VFS and VOP methods, by avoiding calling the >> functions when SIGDEFERSTOP_NOP non-change is requested. (**) >> >> Reported and tested by: pho (*) >> Requested by: bde (**) >> Sponsored by: The FreeBSD Foundation >> MFC after: 2 weeks >> Approved by: re (gjb) > > Thanks, but this is still very slow (even slower than beore the > micro-optimization).
Could you please bump __FreeBSD_version ? This change broke emulators/open-vm-tools from pkg.FreeBSD.org , so it needs to be rebuilt. Thanks, -Ngie $ sudo service vmware-kmod start Loading vmmemctl kernel module: already loaded. Loading vmxnet kernel module: already loaded. Loading vmblock kernel module: failed. Cannot 'start' vmware_guest_vmhgfs. Set vmware_guest_vmhgfs_enable to YES in /etc/rc.conf or use 'onestart' instead of 'start'. $ tail -n 3 /var/log/messages Jul 5 15:59:03 fbsd11 fetch: gethostby*.getanswer: asked for "mirror.easthsia.com IN AAAA", got type "A" Jul 5 16:01:43 fbsd11 kernel: link_elf_obj: symbol sigdeferstop undefined Jul 5 16:01:43 fbsd11 kernel: linker_load_file: Unsupported file type
signature.asc
Description: Message signed with OpenPGP using GPGMail