From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751410AbcEJHJo (ORCPT ); Tue, 10 May 2016 03:09:44 -0400 Received: from mx2.suse.de ([195.135.220.15]:51452 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750986AbcEJHJn (ORCPT ); Tue, 10 May 2016 03:09:43 -0400 Subject: Re: [PATCH 0.14] oom detection rework v6 To: Joonsoo Kim , Michal Hocko References: <1461181647-8039-1-git-send-email-mhocko@kernel.org> <20160504054502.GA10899@js1304-P5Q-DELUXE> <20160504084737.GB29978@dhcp22.suse.cz> <20160504181608.GA21490@dhcp22.suse.cz> Cc: Joonsoo Kim , Andrew Morton , Linus Torvalds , Johannes Weiner , Mel Gorman , David Rientjes , Tetsuo Handa , Hillf Danton , Linux Memory Management List , LKML From: Vlastimil Babka Message-ID: <57318932.3030804@suse.cz> Date: Tue, 10 May 2016 09:09:38 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/10/2016 08:41 AM, Joonsoo Kim wrote: > You applied band-aid for CONFIG_COMPACTION and fixed some reported > problem but it is also fragile. Assume almost pageblock's skipbit are > set. In this case, compaction easily returns COMPACT_COMPLETE and your > logic will stop retry. Compaction isn't designed to report accurate > fragmentation state of the system so depending on it's return value > for OOM is fragile. Guess I'll just post a RFC now, even though it's not much tested...