Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932624AbcDYNen (ORCPT ); Mon, 25 Apr 2016 09:34:43 -0400 Received: from mx2.suse.de ([195.135.220.15]:41902 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932231AbcDYNem (ORCPT ); Mon, 25 Apr 2016 09:34:42 -0400 From: Vlastimil Babka To: Andrew Morton Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, Michal Hocko , Joonsoo Kim , Hugh Dickins , Rik van Riel , Vlastimil Babka Subject: [PATCH 0/3] mainline and mmotm compaction fixes Date: Mon, 25 Apr 2016 15:34:26 +0200 Message-Id: <1461591269-28615-1-git-send-email-vbabka@suse.cz> X-Mailer: git-send-email 2.8.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1252 Lines: 33 This was initially sent in responses to Hugh's woes [1] but looks like the timing was unfortunate for the patches to be picked. So here's a consolidated resent. Patch 1 is for an older bug that Hugh found when dealing with the mmotm bugs, Patches 2 and 3 are mmotm fixes. This doesn't address the problem 1) in Hugh's mail, which Michal Hocko also hit recently and reminded me to check these patches' status: > 1. Fix crash in release_pages() from compact_zone() from kcompactd_do_work(): > kcompactd needs to INIT_LIST_HEAD on the new freepages_held list. This one should be addressed by dropping the following from mmotm from now: mm-compaction-direct-freepage-allocation-for-async-direct-compaction.patch As there were objections from Joonsoo and Mel that I would like to try addressing before posting again. [1] http://marc.info/?i=alpine.LSU.2.11.1604120005350.1832%40eggly.anvils Hugh Dickins (2): mm, cma: prevent nr_isolated_* counters from going negative mm, compaction: prevent nr_isolated_* from going negative Vlastimil Babka (1): mm, compaction: fix crash in get_pfnblock_flags_mask() from isolate_freepages(): mm/compaction.c | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) -- 2.8.1