]> git.pld-linux.org Git - packages/db4.3.git/blobdiff - patch.4.3.29.1
- updated URLs
[packages/db4.3.git] / patch.4.3.29.1
diff --git a/patch.4.3.29.1 b/patch.4.3.29.1
new file mode 100644 (file)
index 0000000..40cf7c3
--- /dev/null
@@ -0,0 +1,24 @@
+*** mp/mp_fget.c.orig  2006-05-30 20:44:11.000000000 -0700
+--- mp/mp_fget.c       2006-05-30 20:44:22.000000000 -0700
+***************
+*** 577,584 ****
+        */
+       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_FIRST(&hp->hash_bucket, __bh)->priority;
+       }
+--- 577,587 ----
+        */
+       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_FIRST(&hp->hash_bucket, __bh)->priority;
+       }
This page took 0.068408 seconds and 4 git commands to generate.