Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752369AbbGVVmU (ORCPT ); Wed, 22 Jul 2015 17:42:20 -0400 Received: from mail-pa0-f49.google.com ([209.85.220.49]:34534 "EHLO mail-pa0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750779AbbGVVmT (ORCPT ); Wed, 22 Jul 2015 17:42:19 -0400 Date: Wed, 22 Jul 2015 14:42:15 -0700 (PDT) From: David Rientjes X-X-Sender: rientjes@chino.kir.corp.google.com To: Vlastimil Babka cc: Andrew Morton , linux-mm@kvack.org, linux-kernel@vger.kernel.org, "minkyung88.kim" , kmk3210@gmail.com, Seungho Park , Joonsoo Kim , Minchan Kim , Michal Nazarewicz , Laura Abbott , Naoya Horiguchi , Johannes Weiner , "Kirill A. Shutemov" , Mel Gorman Subject: Re: [PATCH 1/2] mm, page_isolation: remove bogus tests for isolated pages In-Reply-To: <55AF8BD2.6060009@suse.cz> Message-ID: References: <55969822.9060907@suse.cz> <1437483218-18703-1-git-send-email-vbabka@suse.cz> <55AF8BD2.6060009@suse.cz> User-Agent: Alpine 2.10 (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 Content-Length: 1227 Lines: 34 On Wed, 22 Jul 2015, Vlastimil Babka wrote: > From: Vlastimil Babka > Date: Wed, 22 Jul 2015 14:16:52 +0200 > Subject: [PATCH 2/3] fixup! mm, page_isolation: remove bogus tests for > isolated pages > > --- > mm/page_alloc.c | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/mm/page_alloc.c b/mm/page_alloc.c > index 41dc650..c61fef8 100644 > --- a/mm/page_alloc.c > +++ b/mm/page_alloc.c > @@ -789,7 +789,11 @@ static void free_pcppages_bulk(struct zone *zone, int count, > page = list_entry(list->prev, struct page, lru); > /* must delete as __free_one_page list manipulates */ > list_del(&page->lru); > + > mt = get_freepage_migratetype(page); > + /* MIGRATE_ISOLATE page should not go to pcplists */ > + VM_BUG_ON_PAGE(is_migrate_isolate(mt), page); > + /* Pageblock could have been isolated meanwhile */ > if (unlikely(has_isolate_pageblock(zone))) > mt = get_pageblock_migratetype(page); > Looks good, thanks! -- 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/