[ewg] Re: [PATCH v3] mlx4_ib: Optimize hugetlab pages support

Eli Cohen eli at dev.mellanox.co.il
Mon Apr 6 23:59:55 PDT 2009


On Mon, Apr 06, 2009 at 08:49:43PM +0300, Yossi Etigin wrote:
> 
> I don't understand - if all area is huge pages, it does not mean that
> it fills full huge pages - I can have just 4096 bytes in huge page memory 
> and umem->hugetlb will remain 1, right?

You may call ib_umem_get() with a fraction of a huge page but I expect
the number of pages returned from get_user_pages() will fill up a huge
page. Can you check that with the mckey test you were using?



More information about the ewg mailing list