From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932069AbaFBUJO (ORCPT ); Mon, 2 Jun 2014 16:09:14 -0400 Received: from mail-ig0-f179.google.com ([209.85.213.179]:42574 "EHLO mail-ig0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751828AbaFBUJM (ORCPT ); Mon, 2 Jun 2014 16:09:12 -0400 Date: Mon, 2 Jun 2014 13:09:08 -0700 (PDT) From: David Rientjes X-X-Sender: rientjes@chino.kir.corp.google.com To: Vlastimil Babka cc: Fabio Estevam , Andrew Morton , Shawn Guo , Kevin Hilman , Rik van Riel , Stephen Warren , Minchan Kim , Bartlomiej Zolnierkiewicz , Hugh Dickins , LKML , Michal Nazarewicz , linux-mm@kvack.org, Mel Gorman , Olof Johansson , Greg Thelen , Joonsoo Kim , Christoph Lameter , linux-arm-kernel Subject: Re: [PATCH -mm] mm, compaction: properly signal and act upon lock and need_sched() contention - fix In-Reply-To: <538C8B45.6070803@suse.cz> Message-ID: References: <1399904111-23520-1-git-send-email-vbabka@suse.cz> <1400233673-11477-1-git-send-email-vbabka@suse.cz> <537F082F.50501@suse.cz> <538C8B45.6070803@suse.cz> User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) 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 On Mon, 2 Jun 2014, Vlastimil Babka wrote: > compact_should_abort() returns true instead of false and vice versa > due to changes between v1 and v2 of the patch. This makes both async > and sync compaction abort with high probability, and has been reported > to cause e.g. soft lockups on some ARM boards, or drivers calling > dma_alloc_coherent() fail to probe with CMA enabled on different boards. > > This patch fixes the return value to match comments and callers expecations. > > Reported-and-tested-by: Kevin Hilman > Reported-and-tested-by: Shawn Guo > Tested-by: Stephen Warren > Signed-off-by: Vlastimil Babka Acked-by: David Rientjes