Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932174AbcCKNcI (ORCPT ); Fri, 11 Mar 2016 08:32:08 -0500 Received: from www262.sakura.ne.jp ([202.181.97.72]:47770 "EHLO www262.sakura.ne.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932067AbcCKNcE (ORCPT ); Fri, 11 Mar 2016 08:32:04 -0500 To: mhocko@kernel.org Cc: akpm@linux-foundation.org, torvalds@linux-foundation.org, hannes@cmpxchg.org, mgorman@suse.de, rientjes@google.com, hillf.zj@alibaba-inc.com, kamezawa.hiroyu@jp.fujitsu.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/3] OOM detection rework v4 From: Tetsuo Handa References: <1450203586-10959-1-git-send-email-mhocko@kernel.org> <201603111945.FHI64215.JVOFLHQFOMOSFt@I-love.SAKURA.ne.jp> <20160311130847.GP27701@dhcp22.suse.cz> In-Reply-To: <20160311130847.GP27701@dhcp22.suse.cz> Message-Id: <201603112232.AEJ78150.LOHQJtMFSVOFOF@I-love.SAKURA.ne.jp> X-Mailer: Winbiff [Version 2.51 PL2] X-Accept-Language: ja,en,zh Date: Fri, 11 Mar 2016 22:32:02 +0900 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 870 Lines: 22 Michal Hocko wrote: > On Fri 11-03-16 19:45:29, Tetsuo Handa wrote: > > (Posting as a reply to this thread.) > > I really do not see how this is related to this thread. All allocating tasks are looping at /* * If we didn't make any progress and have a lot of * dirty + writeback pages then we should wait for * an IO to complete to slow down the reclaim and * prevent from pre mature OOM */ if (!did_some_progress && 2*(writeback + dirty) > reclaimable) { congestion_wait(BLK_RW_ASYNC, HZ/10); return true; } in should_reclaim_retry(). should_reclaim_retry() was added by OOM detection rework, wan't it?