From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lb0-f178.google.com (mail-lb0-f178.google.com [209.85.217.178]) by kanga.kvack.org (Postfix) with ESMTP id 47F566B0035 for ; Tue, 12 Aug 2014 06:58:44 -0400 (EDT) Received: by mail-lb0-f178.google.com with SMTP id c11so6806781lbj.23 for ; Tue, 12 Aug 2014 03:58:43 -0700 (PDT) Received: from mx2.suse.de (cantor2.suse.de. [195.135.220.15]) by mx.google.com with ESMTPS id 4si23339446lax.46.2014.08.12.03.58.41 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 12 Aug 2014 03:58:42 -0700 (PDT) Message-ID: <53E9F35D.7050902@suse.cz> Date: Tue, 12 Aug 2014 12:58:37 +0200 From: Vlastimil Babka MIME-Version: 1.0 Subject: Re: [PATCH v2 5/8] mm/isolation: change pageblock isolation logic to fix freepage counting bugs References: <1407309517-3270-1-git-send-email-iamjoonsoo.kim@lge.com> <1407309517-3270-9-git-send-email-iamjoonsoo.kim@lge.com> <20140812064312.GD23418@gmail.com> In-Reply-To: <20140812064312.GD23418@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Minchan Kim , Joonsoo Kim Cc: Andrew Morton , "Kirill A. Shutemov" , Rik van Riel , Mel Gorman , Johannes Weiner , Yasuaki Ishimatsu , Zhang Yanfei , "Srivatsa S. Bhat" , Tang Chen , Naoya Horiguchi , Bartlomiej Zolnierkiewicz , Wen Congyang , Marek Szyprowski , Michal Nazarewicz , Laura Abbott , Heesub Shin , "Aneesh Kumar K.V" , Ritesh Harjani , t.stanislaws@samsung.com, Gioh Kim , linux-mm@kvack.org, linux-kernel@vger.kernel.org On 08/12/2014 08:43 AM, Minchan Kim wrote: >> --- a/mm/page_alloc.c >> +++ b/mm/page_alloc.c >> @@ -571,7 +571,7 @@ static inline int page_is_buddy(struct page *page, struct page *buddy, >> * -- nyc >> */ >> >> -static inline void __free_one_page(struct page *page, >> +void __free_one_page(struct page *page, > > no inline any more. :( That could be hopefully done differently without killing this property. > Personally, it is becoming increasingly clear that it would be better > to add some hooks for isolateed pages to be sure to fix theses problems > without adding more complicated logic. Might be a valid argument but please do read the v1 discussions and then say if you still hold the opinion. Or maybe you will get a better picture afterwards and see a more elegant solution :) Vlastimil -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org