Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Sep 2010 15:10:03 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r212999 - head/sys/sys
Message-ID:  <201009221510.o8MFA35F033947@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhb
Date: Wed Sep 22 15:10:03 2010
New Revision: 212999
URL: http://svn.freebsd.org/changeset/base/212999

Log:
  Copy td_rqindex during fork instead of zero'ing it to match the comments.
  I do not believe there is any functional change.

Modified:
  head/sys/sys/proc.h

Modified: head/sys/sys/proc.h
==============================================================================
--- head/sys/sys/proc.h	Wed Sep 22 12:52:12 2010	(r212998)
+++ head/sys/sys/proc.h	Wed Sep 22 15:10:03 2010	(r212999)
@@ -263,7 +263,7 @@ struct thread {
 	int		td_ng_outbound;	/* (k) Thread entered ng from above. */
 	struct osd	td_osd;		/* (k) Object specific data. */
 	struct vm_map_entry *td_map_def_user; /* (k) Deferred entries. */
-#define	td_endzero td_base_pri
+#define	td_endzero td_rqindex
 
 /* Copied during fork1() or thread_sched_upcall(). */
 #define	td_startcopy td_endzero



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