SOURCES: patch.4.2.52.5 (NEW) - save from http://www.oracle.com/technology/...

glen glen at pld-linux.org
Tue Aug 19 14:29:33 CEST 2008


Author: glen                         Date: Tue Aug 19 12:29:33 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- save from http://www.oracle.com/technology/products/berkeley-db/db/update/4.2.52/patch.4.2.52.5

---- Files affected:
SOURCES:
   patch.4.2.52.5 (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/patch.4.2.52.5
diff -u /dev/null SOURCES/patch.4.2.52.5:1.1
--- /dev/null	Tue Aug 19 14:29:33 2008
+++ SOURCES/patch.4.2.52.5	Tue Aug 19 14:29:27 2008
@@ -0,0 +1,24 @@
+*** mp/mp_fget.c.orig	2003-09-25 08:29:02.000000000 -0700
+--- mp/mp_fget.c	2006-05-26 14:58:02.246963204 -0700
+***************
+*** 553,560 ****
+  	 */
+  	if (state != SECOND_MISS && bhp->ref == 1) {
+  		bhp->priority = UINT32_T_MAX;
+! 		SH_TAILQ_REMOVE(&hp->hash_bucket, bhp, hq, __bh);
+! 		SH_TAILQ_INSERT_TAIL(&hp->hash_bucket, bhp, hq);
+  		hp->hash_priority =
+  		    SH_TAILQ_FIRST(&hp->hash_bucket, __bh)->priority;
+  	}
+--- 553,563 ----
+  	 */
+  	if (state != SECOND_MISS && bhp->ref == 1) {
+  		bhp->priority = UINT32_T_MAX;
+! 		if (SH_TAILQ_FIRST(&hp->hash_bucket, __bh) !=
+! 		     SH_TAILQ_LAST(&hp->hash_bucket, hq, __bh)) {
+! 			SH_TAILQ_REMOVE(&hp->hash_bucket, bhp, hq, __bh);
+! 			SH_TAILQ_INSERT_TAIL(&hp->hash_bucket, bhp, hq);
+! 		}
+  		hp->hash_priority =
+  		    SH_TAILQ_FIRST(&hp->hash_bucket, __bh)->priority;
+  	}
================================================================


More information about the pld-cvs-commit mailing list