svn commit: r194013 - head/sys/sys

Marko Zec zec at FreeBSD.org
Thu Jun 11 17:03:16 UTC 2009


Author: zec
Date: Thu Jun 11 17:03:15 2009
New Revision: 194013
URL: http://svn.freebsd.org/changeset/base/194013

Log:
  In struct thread, fields td_vnet and td_vnet_lpush may only be accessed
  via curthread (via appropriate macros), so update the comment indicating
  the protection model for those two fields.

Modified:
  head/sys/sys/proc.h

Modified: head/sys/sys/proc.h
==============================================================================
--- head/sys/sys/proc.h	Thu Jun 11 16:50:49 2009	(r194012)
+++ head/sys/sys/proc.h	Thu Jun 11 17:03:15 2009	(r194013)
@@ -278,8 +278,8 @@ struct thread {
 	struct lpohead	td_lprof[2];	/* (a) lock profiling objects. */
 	struct kdtrace_thread	*td_dtrace; /* (*) DTrace-specific data. */
 	int		td_errno;	/* Error returned by last syscall. */
-	struct vnet	*td_vnet;	/* (*) Effective vnet. */
-	const char	*td_vnet_lpush;	/* (*) Debugging vnet push / pop. */
+	struct vnet	*td_vnet;	/* (k) Effective vnet. */
+	const char	*td_vnet_lpush;	/* (k) Debugging vnet push / pop. */
 };
 
 struct mtx *thread_lock_block(struct thread *);


More information about the svn-src-head mailing list