Re: [patch v2 1/3] mm: remove GFP_THISNODE

From: David Rientjes
Date: Mon Mar 02 2015 - 15:40:35 EST


On Mon, 2 Mar 2015, Vlastimil Babka wrote:

> > > > You are thinking about an opportunistic allocation attempt in SLAB?
> > > >
> > > > AFAICT SLAB allocations should trigger reclaim.
> > > >
> > >
> > > Well, let me quote your commit 952f3b51beb5:
> >
> > This was about global reclaim. Local reclaim is good and that can be
> > done via zone_reclaim.
>
> Right, so the patch is a functional change for zone_reclaim_mode == 1, where
> !__GFP_WAIT will prevent it.
>

My patch is not a functional change, get_page_from_freelist() handles
zone_reclaim_mode == 1 properly in the page allocator fastpath. This
patch only touches the slowpath.
--
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/