Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Oct 2008 15:24:20 GMT
From:      Peter Wemm <peter@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 152211 for review
Message-ID:  <200810301524.m9UFOK9r052399@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=152211

Change 152211 by peter@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. */
 };
 
 /*



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