]> git.pld-linux.org Git - packages/db4.4.git/blobdiff - patch.4.4.20.4
- updated URLs
[packages/db4.4.git] / patch.4.4.20.4
diff --git a/patch.4.4.20.4 b/patch.4.4.20.4
new file mode 100644 (file)
index 0000000..9a19090
--- /dev/null
@@ -0,0 +1,24 @@
+*** mp/mp_fget.c.orig  2005-10-12 10:53:36.000000000 -0700
+--- mp/mp_fget.c       2006-05-30 20:48:10.000000000 -0700
+***************
+*** 587,594 ****
+        */
+       if (state != SECOND_MISS && bhp->ref == 1) {
+               bhp->priority = UINT32_MAX;
+!              SH_TAILQ_REMOVE(&hp->hash_bucket, bhp, hq, __bh);
+!              SH_TAILQ_INSERT_TAIL(&hp->hash_bucket, bhp, hq);
+               hp->hash_priority =
+                   SH_TAILQ_FIRSTP(&hp->hash_bucket, __bh)->priority;
+       }
+--- 587,597 ----
+        */
+       if (state != SECOND_MISS && bhp->ref == 1) {
+               bhp->priority = UINT32_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_FIRSTP(&hp->hash_bucket, __bh)->priority;
+       }
This page took 0.052763 seconds and 4 git commands to generate.