Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751734AbdISUFU (ORCPT ); Tue, 19 Sep 2017 16:05:20 -0400 Received: from gum.cmpxchg.org ([85.214.110.215]:50052 "EHLO gum.cmpxchg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751685AbdISUFR (ORCPT ); Tue, 19 Sep 2017 16:05:17 -0400 Date: Tue, 19 Sep 2017 16:05:09 -0400 From: Johannes Weiner To: Jens Axboe Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, clm@fb.com, jack@suse.cz Subject: Re: [PATCH 1/6] buffer: cleanup free_more_memory() flusher wakeup Message-ID: <20170919200509.GA11873@cmpxchg.org> References: <1505850787-18311-1-git-send-email-axboe@kernel.dk> <1505850787-18311-2-git-send-email-axboe@kernel.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1505850787-18311-2-git-send-email-axboe@kernel.dk> User-Agent: Mutt/1.8.3 (2017-05-23) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 393 Lines: 9 On Tue, Sep 19, 2017 at 01:53:02PM -0600, Jens Axboe wrote: > This whole function is... interesting. Change the wakeup call > to the flusher threads to pass in nr_pages == 0, instead of > some random number of pages. This matches more closely what > similar cases do for memory shortage/reclaim. > > Signed-off-by: Jens Axboe Acked-by: Johannes Weiner