Hi Kirill, On Wed, Sep 12, 2012 at 01:07:53PM +0300, Kirill A. Shutemov wrote: > - hpage = alloc_pages(GFP_TRANSHUGE | __GFP_ZERO, HPAGE_PMD_ORDER);
The page is likely as large as a pageblock so it's unlikely to create much fragmentation even if the __GFP_MOVABLE is set. Said that I guess it would be more correct if __GFP_MOVABLE was clear, like (GFP_TRANSHUGE | __GFP_ZERO) & ~__GFP_MOVABLE because this page isn't really movable (it's only reclaimable). The xchg vs xchgcmp locking also looks good. Reviewed-by: Andrea Arcangeli <[email protected]> Thanks, Andrea -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

