1 *** mp/mp_fget.c.orig 2005-10-12 10:53:36.000000000 -0700
2 --- mp/mp_fget.c 2006-05-30 20:48:10.000000000 -0700
6 if (state != SECOND_MISS && bhp->ref == 1) {
7 bhp->priority = UINT32_MAX;
8 ! SH_TAILQ_REMOVE(&hp->hash_bucket, bhp, hq, __bh);
9 ! SH_TAILQ_INSERT_TAIL(&hp->hash_bucket, bhp, hq);
11 SH_TAILQ_FIRSTP(&hp->hash_bucket, __bh)->priority;
15 if (state != SECOND_MISS && bhp->ref == 1) {
16 bhp->priority = UINT32_MAX;
17 ! if (SH_TAILQ_FIRST(&hp->hash_bucket, __bh) !=
18 ! SH_TAILQ_LAST(&hp->hash_bucket, hq, __bh)) {
19 ! SH_TAILQ_REMOVE(&hp->hash_bucket, bhp, hq, __bh);
20 ! SH_TAILQ_INSERT_TAIL(&hp->hash_bucket, bhp, hq);
23 SH_TAILQ_FIRSTP(&hp->hash_bucket, __bh)->priority;