Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753424AbbLYLoc (ORCPT ); Fri, 25 Dec 2015 06:44:32 -0500 Received: from mail-wm0-f41.google.com ([74.125.82.41]:35297 "EHLO mail-wm0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752204AbbLYLob (ORCPT ); Fri, 25 Dec 2015 06:44:31 -0500 Date: Fri, 25 Dec 2015 12:44:29 +0100 From: Michal Hocko To: Ross Zwisler Cc: Andrew Morton , Mel Gorman , Tetsuo Handa , David Rientjes , Linus Torvalds , Oleg Nesterov , Hugh Dickins , Andrea Argangeli , Rik van Riel , linux-mm@kvack.org, LKML , Ross Zwisler Subject: Re: [PATCH 1/2] mm, oom: introduce oom reaper Message-ID: <20151225114428.GC6754@dhcp22.suse.cz> References: <1450204575-13052-1-git-send-email-mhocko@kernel.org> <20151224094758.GA22760@dhcp22.suse.cz> <20151225113537.GA6754@dhcp22.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20151225113537.GA6754@dhcp22.suse.cz> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 908 Lines: 20 On Fri 25-12-15 12:35:37, Michal Hocko wrote: [...] > Thanks I will try to reproduce early next year. But so far I think this > is just a general issue of MADV_DONTNEED vs. truncate and oom_reaper is > just lucky to trigger it. There shouldn't be anything oom_reaper > specific here. Maybe there is some additional locking missing? Hmm, scratch that. I think Tetsuo has nailed it. It seems like the missing initialization of details structure during unmap is the culprit. So there most probably was on OOM killing invoked. It is just a side effect of the patch and missing http://marc.info/?l=linux-mm&m=145068666428057 follow up fix. -- Michal Hocko SUSE Labs -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/