From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933038AbcK1OG7 (ORCPT ); Mon, 28 Nov 2016 09:06:59 -0500 Received: from mail-wm0-f67.google.com ([74.125.82.67]:35163 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932467AbcK1OGy (ORCPT ); Mon, 28 Nov 2016 09:06:54 -0500 Date: Mon, 28 Nov 2016 15:06:51 +0100 From: Michal Hocko To: Mikulas Patocka Cc: Mel Gorman , NeilBrown , Tetsuo Handa , LKML , linux-mm@kvack.org, "dm-devel@redhat.com David Rientjes" , Ondrej Kozina , Andrew Morton , Douglas Anderson , shli@kernel.org, Dmitry Torokhov Subject: Re: [dm-devel] [RFC PATCH 2/2] mm, mempool: do not throttle PF_LESS_THROTTLE tasks Message-ID: <20161128140651.GL14788@dhcp22.suse.cz> References: <20160728071711.GB31860@dhcp22.suse.cz> <20160803143419.GC1490@dhcp22.suse.cz> <20160812123242.GH3639@dhcp22.suse.cz> <20160814103409.GC9248@dhcp22.suse.cz> <20161124132916.GF20668@dhcp22.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.6.0 (2016-04-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu 24-11-16 12:10:08, Mikulas Patocka wrote: > > > On Thu, 24 Nov 2016, Michal Hocko wrote: [...] > > Please note that even > > GFP_NOWAIT allocations will wake up kspwad which should clean up that > > The mempool is also using GFP_NOIO allocations - so do you claim that it > should not use GFP_NOIO too? No, I am not claiming that. The last time I have asked the throttling didn't seem to serious enough to cause any problems. If the memory reclaim throttling is serious enough then let's measure and evaluate it. > You should provide a clear API that the block device drivers should use to > allocate memory - not to apply band aid to vm throttling problems as they > are being discovered. This is easier said than done, I am afraid. We have been using GFP_NOIO in mempool for years and there were no major complains. -- Michal Hocko SUSE Labs