From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752126AbaHLK6o (ORCPT ); Tue, 12 Aug 2014 06:58:44 -0400 Received: from cantor2.suse.de ([195.135.220.15]:32936 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751412AbaHLK6n (ORCPT ); Tue, 12 Aug 2014 06:58:43 -0400 Message-ID: <53E9F35D.7050902@suse.cz> Date: Tue, 12 Aug 2014 12:58:37 +0200 From: Vlastimil Babka User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 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 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: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: 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