if ((vp->v_flag & VTEXT) == 0) { uvmexp.vnodepages -= vp->v_uobj.uo_npages; uvmexp.vtextpages += vp->v_uobj.uo_npages; #if 0  #ifdef PMAP_PREFER  ubc_flush(&vp->v_uobj, 0, 0); #endif #endif }
vn_marktext(vp)	struct vnode *vp;{	if ((vp->v_flag & VTEXT) == 0) {		uvmexp.vnodepages -= vp->v_uobj.uo_npages;		uvmexp.vtextpages += vp->v_uobj.uo_npages;#if 0	/*	 * Doesn't help much because the pager is borked and ubc_flush is	 * slow.	 */#ifdef PMAP_PREFER		/*		 * Get rid of any cached reads from this vnode.		 * exec can't respect PMAP_PREFER when mapping the text.		 */		ubc_flush(&vp->v_uobj, 0, 0);#endif#endif	}	vp->v_flag |= VTEXT;}