changeset 3658:83d654416b84

6520397 assertion failed:(((pp)->p_selock & ~0x40000000) != 0), file: dr_mem.c line:407 during DR testing.
author bm42561
date Thu, 15 Feb 2007 10:29:45 -0800
parents 52fa1667b7c1
children 7e9e2f60e9c9
files usr/src/uts/sun4u/opl/io/dr_mem.c
diffstat 1 files changed, 1 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/usr/src/uts/sun4u/opl/io/dr_mem.c	Thu Feb 15 09:43:19 2007 -0800
+++ b/usr/src/uts/sun4u/opl/io/dr_mem.c	Thu Feb 15 10:29:45 2007 -0800
@@ -399,15 +399,9 @@
 
 	do {
 		ASSERT(pp != NULL);
-		/*
-		 * page_downgrade happens after page_hashin, so we
-		 * can't assert PAGE_SE. Just assert locked to catch
-		 * changes to the retired vnode locking scheme.
-		 */
-		ASSERT(PAGE_LOCKED(pp));
 		ASSERT(pp->p_vnode == retired_pages);
 
-		if (!page_trylock(pp, SE_SHARED))
+		if (!page_try_reclaim_lock(pp, SE_SHARED, SE_RETIRED))
 			continue;
 
 		pfn = page_pptonum(pp);