Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758406AbcCDHl2 (ORCPT ); Fri, 4 Mar 2016 02:41:28 -0500 Received: from mx2.suse.de ([195.135.220.15]:54159 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751640AbcCDHl0 (ORCPT ); Fri, 4 Mar 2016 02:41:26 -0500 Subject: Re: [PATCH 0/3] OOM detection rework v4 To: Hugh Dickins , Michal Hocko References: <1450203586-10959-1-git-send-email-mhocko@kernel.org> <20160203132718.GI6757@dhcp22.suse.cz> <20160229203502.GW16930@dhcp22.suse.cz> <20160301133846.GF9461@dhcp22.suse.cz> <20160303123258.GE26202@dhcp22.suse.cz> Cc: Joonsoo Kim , Andrew Morton , Linus Torvalds , Johannes Weiner , Mel Gorman , David Rientjes , Tetsuo Handa , Hillf Danton , KAMEZAWA Hiroyuki , linux-mm@kvack.org, LKML From: Vlastimil Babka Message-ID: <56D93C21.9080308@suse.cz> Date: Fri, 4 Mar 2016 08:41:21 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 788 Lines: 23 On 03/03/2016 09:57 PM, Hugh Dickins wrote: > >> >> I do not have an explanation why it would cause oom sooner but this >> turned out to be incomplete. There is another wmaark check deeper in the >> compaction path. Could you try the one from >> http://lkml.kernel.org/r/20160302130022.GG26686@dhcp22.suse.cz > > I've now added that in: it corrects the "sooner", but does not make > any difference to the fact of OOMing for me. Could you try producing a trace with echo 1 > /debug/tracing/events/compaction/enable echo 1 > /debug/tracing/events/migrate/mm_migrate_pages/enable Hopefully it will hint at what's wrong with: compact_migrate_scanned 424920 compact_free_scanned 9278408 compact_isolated 469472 compact_stall 377 compact_fail 297 compact_success 80 compact_kcompatd_wake 0