Re: [patch] arca-vm-2.2.5

Stephen C. Tweedie (sct@redhat.com)
Wed, 7 Apr 1999 13:28:33 +0100 (BST)


Hi,

On Tue, 6 Apr 1999 14:58:17 -0700 (PDT), Simon Kirby <sim@netnation.com>
said:

> I noticed what sct was talking about where when it hits swap, things tend
> to all go into buckets close together -- I saw hundreds of things linked
> to the same buckets at one point after I made my machine hit swap a bit.

Exactly because of the hash function. That's why we want to mix in the
low order bits of the offset when calculating the hash.

--Stephen

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/