svn commit: r324934 - stable/11/sys/sys

Bryan Drewery bdrewery at FreeBSD.org
Mon Oct 23 19:03:38 UTC 2017


Author: bdrewery
Date: Mon Oct 23 19:03:36 2017
New Revision: 324934
URL: https://svnweb.freebsd.org/changeset/base/324934

Log:
  Fix struct thread padding field names.
  
  Direct commit to stable/11.

Modified:
  stable/11/sys/sys/proc.h

Modified: stable/11/sys/sys/proc.h
==============================================================================
--- stable/11/sys/sys/proc.h	Mon Oct 23 19:00:17 2017	(r324933)
+++ stable/11/sys/sys/proc.h	Mon Oct 23 19:03:36 2017	(r324934)
@@ -225,8 +225,8 @@ struct thread {
 	struct umtx_q   *td_umtxq;	/* (c?) Link for when we're blocked. */
 	struct vm_domain_policy td_vm_dom_policy;	/* (c) current numa domain policy */
 	lwpid_t		td_tid;		/* (b) Thread ID. */
-	uint64_t	padding1[4];
-	void		*padding2[4];
+	uint64_t	td_padding1[4];
+	void		*td_padding2[4];
 	u_char		td_lend_user_pri; /* (t) Lend user pri. */
 
 /* Cleared during fork1() */
@@ -275,7 +275,7 @@ struct thread {
 	char		td_name[MAXCOMLEN + 1];	/* (*) Thread name. */
 	struct file	*td_fpop;	/* (k) file referencing cdev under op */
 	int		td_dbgflags;	/* (c) Userland debugger flags */
-	struct ksiginfo	padding3;
+	struct ksiginfo	td_padding3;
 	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. */
@@ -296,8 +296,8 @@ struct thread {
 	u_char		td_pri_class;	/* (t) Scheduling class. */
 	u_char		td_user_pri;	/* (t) User pri from estcpu and nice. */
 	u_char		td_base_user_pri; /* (t) Base user pri */
-	u_int		td_padding3;
 	u_int		td_padding4;
+	u_int		td_padding5;
 	uintptr_t	td_rb_list;	/* (k) Robust list head. */
 	uintptr_t	td_rbp_list;	/* (k) Robust priv list head. */
 	uintptr_t	td_rb_inact;	/* (k) Current in-action mutex loc. */


More information about the svn-src-stable mailing list