Re: [RFC 1/3] non-resident page tracking

From: Rik van Riel
Date: Wed Aug 10 2005 - 03:41:13 EST


On Tue, 9 Aug 2005, Marcelo Tosatti wrote:

> Well, not really "good approximation" it sounds to me, the sensibility
> goes down to L1_CACHE_LINE/sizeof(u32), which is:
>
> - 8 on 32-byte cacheline
> - 16 on 64-byte cacheline
> - 32 on 128-byte cacheline
>
> Right?
>
> So the (nice!) refault histogram gets limited to those values?

I agree that 7 would be too small. I guess I should limit the
minimum size of the nonresident hash bucket to 15 entries...

--
All Rights Reversed
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/