From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752414AbdJRONo (ORCPT ); Wed, 18 Oct 2017 10:13:44 -0400 Received: from outbound-smtp02.blacknight.com ([81.17.249.8]:45747 "EHLO outbound-smtp02.blacknight.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751351AbdJRONn (ORCPT ); Wed, 18 Oct 2017 10:13:43 -0400 Date: Wed, 18 Oct 2017 15:13:41 +0100 From: Mel Gorman To: David Rientjes Cc: Andrew Morton , Christoph Lameter , Joonsoo Kim , linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [patch] mm, slab: only set __GFP_RECLAIMABLE once Message-ID: <20171018141341.46atga2mi6eudnw2@techsingularity.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170421 (1.8.2) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 17, 2017 at 03:30:01PM -0700, David Rientjes wrote: > SLAB_RECLAIM_ACCOUNT is a permanent attribute of a slab cache. Set > __GFP_RECLAIMABLE as part of its ->allocflags rather than check the cachep > flag on every page allocation. > > Signed-off-by: David Rientjes Acked-by: Mel Gorman -- Mel Gorman SUSE Labs