Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-6]: src/sys/sys Pull up revision 1.96 (requested by junyoung in...



details:   https://anonhg.NetBSD.org/src/rev/8fc1ab6de48f
branches:  netbsd-1-6
changeset: 530782:8fc1ab6de48f
user:      tron <tron%NetBSD.org@localhost>
date:      Thu Oct 02 09:53:41 2003 +0000

description:
Pull up revision 1.96 (requested by junyoung in ticket #1488):
count executable image pages as executable for vm-usage purposes.
also, always do the VTEXT vs. v_writecount mutual exclusion
(which we previously skipped if the text or data segment was empty).

diffstat:

 sys/sys/vnode.h |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 3782dc0820c7 -r 8fc1ab6de48f sys/sys/vnode.h
--- a/sys/sys/vnode.h   Thu Oct 02 09:52:48 2003 +0000
+++ b/sys/sys/vnode.h   Thu Oct 02 09:53:41 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vnode.h,v 1.94 2002/01/09 00:18:02 deberg Exp $        */
+/*     $NetBSD: vnode.h,v 1.94.10.1 2003/10/02 09:53:41 tron Exp $     */
 
 /*
  * Copyright (c) 1989, 1993
@@ -534,7 +534,8 @@
 int    vn_write(struct file *fp, off_t *offset, struct uio *uio,
            struct ucred *cred, int flags);
 int    vn_writechk(struct vnode *vp);
-void   vn_markexec(struct vnode *vp);
+void   vn_markexec(struct vnode *);
+int    vn_marktext(struct vnode *);
 int    vn_isunder(struct vnode *dvp, struct vnode *rvp, struct proc *p);
 struct vnode *
        checkalias(struct vnode *vp, dev_t nvp_rdev, struct mount *mp);



Home | Main Index | Thread Index | Old Index