svn commit: r301906 - stable/10/sys/kern

Jamie Gritton jamie at FreeBSD.org
Wed Jun 15 01:54:18 UTC 2016


Author: jamie
Date: Wed Jun 15 01:54:17 2016
New Revision: 301906
URL: https://svnweb.freebsd.org/changeset/base/301906

Log:
  MFC r301737:
  
    Remove a comment that was part of copied code, and is misleading in
    the new location.

Modified:
  stable/10/sys/kern/sysv_msg.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/kern/sysv_msg.c
==============================================================================
--- stable/10/sys/kern/sysv_msg.c	Wed Jun 15 01:49:01 2016	(r301905)
+++ stable/10/sys/kern/sysv_msg.c	Wed Jun 15 01:54:17 2016	(r301906)
@@ -326,12 +326,6 @@ msgunload()
 #endif
 
 	for (msqid = 0; msqid < msginfo.msgmni; msqid++) {
-		/*
-		 * Look for an unallocated and unlocked msqid_ds.
-		 * msqid_ds's can be locked by msgsnd or msgrcv while
-		 * they are copying the message in/out.  We can't
-		 * re-use the entry until they release it.
-		 */
 		msqkptr = &msqids[msqid];
 		if (msqkptr->u.msg_qbytes != 0 ||
 		    (msqkptr->u.msg_perm.mode & MSG_LOCKED) != 0)


More information about the svn-src-stable mailing list