Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jun 2009 17:03:15 +0000 (UTC)
From:      Marko Zec <zec@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r194013 - head/sys/sys
Message-ID:  <200906111703.n5BH3F3i053768@svn.freebsd.org>

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



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