From owner-svn-src-head@FreeBSD.ORG Thu Jun 11 17:03:16 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 31FE5106566B; Thu, 11 Jun 2009 17:03:16 +0000 (UTC) (envelope-from zec@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 20C678FC13; Thu, 11 Jun 2009 17:03:16 +0000 (UTC) (envelope-from zec@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n5BH3FBA053769; Thu, 11 Jun 2009 17:03:15 GMT (envelope-from zec@svn.freebsd.org) Received: (from zec@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n5BH3F3i053768; Thu, 11 Jun 2009 17:03:15 GMT (envelope-from zec@svn.freebsd.org) Message-Id: <200906111703.n5BH3F3i053768@svn.freebsd.org> From: Marko Zec Date: Thu, 11 Jun 2009 17:03:15 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r194013 - head/sys/sys X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jun 2009 17:03:16 -0000 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 *);