svn commit: r368616 - head/sys/sys

Mateusz Guzik mjg at FreeBSD.org
Sun Dec 13 21:30:43 UTC 2020


Author: mjg
Date: Sun Dec 13 21:30:42 2020
New Revision: 368616
URL: https://svnweb.freebsd.org/changeset/base/368616

Log:
  Patch annotation in sigdeferstop
  
  Probability flipped since sigdefer handling was moved away from regular VOP
  calls.

Modified:
  head/sys/sys/signalvar.h

Modified: head/sys/sys/signalvar.h
==============================================================================
--- head/sys/sys/signalvar.h	Sun Dec 13 21:29:39 2020	(r368615)
+++ head/sys/sys/signalvar.h	Sun Dec 13 21:30:42 2020	(r368616)
@@ -367,7 +367,7 @@ static inline int
 sigdeferstop(int mode)
 {
 
-	if (__predict_true(mode == SIGDEFERSTOP_NOP))
+	if (__predict_false(mode == SIGDEFERSTOP_NOP))
 		return (SIGDEFERSTOP_VAL_NCHG);
 	return (sigdeferstop_impl(mode));
 }


More information about the svn-src-all mailing list