svn commit: r219460 - head/sys/compat/linux

John Baldwin jhb at FreeBSD.org
Thu Mar 10 19:50:13 UTC 2011


Author: jhb
Date: Thu Mar 10 19:50:12 2011
New Revision: 219460
URL: http://svn.freebsd.org/changeset/base/219460

Log:
  Remove now-obsolete comment.
  
  Submitted by:	netchild
  MFC after:	1 week

Modified:
  head/sys/compat/linux/linux_futex.c

Modified: head/sys/compat/linux/linux_futex.c
==============================================================================
--- head/sys/compat/linux/linux_futex.c	Thu Mar 10 19:04:18 2011	(r219459)
+++ head/sys/compat/linux/linux_futex.c	Thu Mar 10 19:50:12 2011	(r219460)
@@ -400,7 +400,7 @@ futex_atomic_op(struct thread *td, int e
 		       "cmparg = %x, uaddr = %p\n",
 		       op, cmp, oparg, cmparg, uaddr);
 #endif
-	/* XXX: linux verifies access here and returns EFAULT */
+	/* XXX: Linux verifies access here and returns EFAULT */
 
 	switch (op) {
 	case FUTEX_OP_SET:
@@ -521,11 +521,6 @@ linux_sys_futex(struct thread *td, struc
 		LINUX_CTR3(sys_futex, "WAKE uaddr %p val % d val3 %d",
 		    args->uaddr, args->val, args->val3);
 
-		/*
-		 * XXX: Linux is able to cope with different addresses
-		 * corresponding to the same mapped memory in the sleeping
-		 * and waker process(es).
-		 */
 #ifdef DEBUG
 		if (ldebug(sys_futex))
 			printf(ARGS(sys_futex, "futex_wake uaddr %p val %d val3 %d"),


More information about the svn-src-all mailing list