Stefan Kempf wrote:
> To reduce these memory requirements, we need three flavors of amaps:
> 
> - Tiny amaps with only one slot store the pointer to the vm_anon in the
>   amap directly. The two ints are not needed. This was Theo's idea.
> 
> - Small amaps with up to 32 slots need 8 instead of 16 bytes per slot
>   (or 4 bytes instead of 12 on 32 bit machines).
>   It's enough to store the array of anons. The two ints per slot are
>   not needed.
> 
>   Tiny and small amaps are the ones used most often.

A little late to the party. I was looking at this in December. One slot amaps
dominated, then 2 slots maybe up to 4, and then a bit of a long tail. Or
basically, what you said. This all makes sense.

Reply via email to