PERFORCE change 152211 for review

Peter Wemm peter at FreeBSD.org
Thu Oct 30 08:24:21 PDT 2008


http://perforce.freebsd.org/chv.cgi?CH=152211

Change 152211 by peter at peter_overcee on 2008/10/30 15:23:48

	de-hack struct kinfo_proc_vmmap

Affected files ...

.. //depot/projects/hammer/sys/sys/user.h#29 edit

Differences ...

==== //depot/projects/hammer/sys/sys/user.h#29 (text+ko) ====

@@ -325,12 +325,11 @@
 	int	 kve_ref_count;			/* VM obj ref count. */
 	int	 kve_shadow_count;		/* VM obj shadow count. */
 	char	 kve_path[PATH_MAX];		/* Path to VM obj, if any. */
+	void	*_kve_pspare[8];		/* Space for more stuff. */
 	off_t	 kve_offset;			/* Mapping offset within object */
-	/* Similar hack to struct stat.  See notes there. */
-	unsigned int :(8 / 2) * ((2 * (int)sizeof(void *)) - (int)sizeof(off_t));
-	unsigned int :(8 / 2) * ((2 * (int)sizeof(void *)) - (int)sizeof(off_t));
-	void	*_kve_pspare[6];		/* Space for more stuff. */
-	int	 _kve_ispare[8];		/* Space for more stuff. */
+	uint64_t kve_fileno;			/* inode number of vnode */
+	dev_t	 kve_dev;			/* dev_t of vnode */
+	int	 _kve_ispare[5];		/* Space for more stuff. */
 };
 
 /*


More information about the p4-projects mailing list