Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Apr 2003 11:30:31 -0700 (PDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 28719 for review
Message-ID:  <200304101830.h3AIUVD0001358@repoman.freebsd.org>

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

Change 28719 by jhb@jhb_laptop on 2003/04/10 11:30:00

	pmap_page_is_free() doesn't do anything on alpha anymore and is an
	alpha-only function, so kill it entirely.

Affected files ...

.. //depot/projects/smpng/sys/alpha/alpha/pmap.c#43 edit
.. //depot/projects/smpng/sys/vm/pmap.h#16 edit
.. //depot/projects/smpng/sys/vm/vm_page.c#33 edit

Differences ...

==== //depot/projects/smpng/sys/alpha/alpha/pmap.c#43 (text+ko) ====

@@ -2901,20 +2901,6 @@
 }
 
 /*
- *	pmap_page_is_free:
- *
- *	Called when a page is freed to allow pmap to clean up
- *	any extra state associated with the page.  In this case
- *	clear modified/referenced bits.
- */
-void
-pmap_page_is_free(vm_page_t m)
-{
-
-	/* XXX: Do we have any PV entries left to set FO[ERW] on? */
-}
-
-/*
  *	pmap_clear_reference:
  *
  *	Clear the reference bit on the specified physical page.

==== //depot/projects/smpng/sys/vm/pmap.h#16 (text+ko) ====

@@ -96,9 +96,6 @@
 
 extern	int	 pmap_pagedaemon_waken;
 
-#ifdef __alpha__
-void		 pmap_page_is_free(vm_page_t m);
-#endif
 void		 pmap_change_wiring(pmap_t, vm_offset_t, boolean_t);
 void		 pmap_clear_modify(vm_page_t m);
 void		 pmap_clear_reference(vm_page_t m);

==== //depot/projects/smpng/sys/vm/vm_page.c#33 (text+ko) ====

@@ -1098,10 +1098,6 @@
 	 */
 	if (m->flags & PG_UNMANAGED) {
 		m->flags &= ~PG_UNMANAGED;
-	} else {
-#ifdef __alpha__
-		pmap_page_is_free(m);
-#endif
 	}
 
 	if (m->hold_count != 0) {



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