Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Dec 2020 21:30:43 +0000 (UTC)
From:      Mateusz Guzik <mjg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r368616 - head/sys/sys
Message-ID:  <202012132130.0BDLUhGU009019@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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));
 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202012132130.0BDLUhGU009019>