Received: by 10.192.165.148 with SMTP id m20csp3934708imm; Mon, 30 Apr 2018 08:51:12 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrheCE3dFbNW/Zde/iUJssbE75F/S9yH8RDfkpVVvn+wFP2StYUjfPq6I+gK5ytnnCqmduI X-Received: by 2002:a17:902:5a5:: with SMTP id f34-v6mr12779598plf.288.1525103472474; Mon, 30 Apr 2018 08:51:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525103472; cv=none; d=google.com; s=arc-20160816; b=vkT7Y8lvBetyD1kf2CjcD6NbtjlrWG1vUg/fVJasEggpEhbT7u+OgqMsU0gW2hceFi /AEn+DSBVEiwciP/ZgPTdSdgDBgFQo+07INfSyjufKAXFRqWPLtpqWr4JKrAqAInzWwW a442XbsWJNAbqY8faBcbGXqA94FhkmTATCDiyge6n9lTm7ZSN7PL2Qy/+1JNFs/W9mHX OCfUcRdpgl/8NFkJjtu8SJTm2RB54cWnTEyleqAC66TVxh4k9TXzkCAZpTxeepkj55dI ZyNwWXFD7G8E7rHPsg2oQNKwsYWzIaNyEkHfaCVst6WY9mdP5FeOYgZma+uWW0/bMiyL zEPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:organization:references:cc:to:from:subject :arc-authentication-results; bh=pcMTY9Gr4ts/c8rlPNxhmDDKCfwYWpN4Au8aMU2XMg4=; b=nhaYnqDDgZidL6WxwBzr6T7GTJNI99RCCg5yT3QnLonptoxo9TT8pR0rSCSYhRvP0j WxLgMLkPmy/m2HWndAcIvx5XdZC4p++hx3o/fYrlCM20eCPvJKpSmYIZUEfbddUEocwP OgcCXah8DOmrkDufi8ZOAlWICFrQ1CzcgPUTeI5fIdoQYXg7vTdgNNQb73pylATdNuTi pRWrEq2FGG7DCZ1iTw2jNbAaKKWdHbZZRE2Wi4C9gkiZGzDxyiiES6NkOp629IxZFnTK jRUph+/li0mYzAMSoa9SJ7zQsuJ06GS6jyEzgJGqJ1mzJKcVNRPdQN4tJL/63aGlYA4y RfYQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f64si7681588pfd.123.2018.04.30.08.50.58; Mon, 30 Apr 2018 08:51:12 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754688AbeD3PuG (ORCPT + 99 others); Mon, 30 Apr 2018 11:50:06 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:41920 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754526AbeD3PuE (ORCPT ); Mon, 30 Apr 2018 11:50:04 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id C5AF1A27D7; Mon, 30 Apr 2018 15:50:03 +0000 (UTC) Received: from [10.36.116.188] (ovpn-116-188.ams2.redhat.com [10.36.116.188]) by smtp.corp.redhat.com (Postfix) with ESMTP id 7E18D108481; Mon, 30 Apr 2018 15:50:00 +0000 (UTC) Subject: Re: [PATCH RCFv2 1/7] mm: introduce and use PageOffline() From: David Hildenbrand To: Pavel Tatashin , linux-mm@kvack.org Cc: linux-kernel@vger.kernel.org, Greg Kroah-Hartman , Ingo Molnar , Andrew Morton , Philippe Ombredanne , Thomas Gleixner , Dan Williams , Michal Hocko , Jan Kara , "Kirill A. Shutemov" , =?UTF-8?B?SsOpcsO0bWUgR2xpc3Nl?= , Matthew Wilcox , Souptick Joarder , Hugh Dickins , Huang Ying , Miles Chen , Vlastimil Babka , Reza Arbab , Mel Gorman , Tetsuo Handa References: <20180430094236.29056-1-david@redhat.com> <20180430094236.29056-2-david@redhat.com> <4d112f60-3c24-585e-152e-b42d68c899a2@oracle.com> <28068791-bee4-095e-7338-cda4d229c3de@redhat.com> Organization: Red Hat GmbH Message-ID: Date: Mon, 30 Apr 2018 17:49:59 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <28068791-bee4-095e-7338-cda4d229c3de@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.79 on 10.11.54.5 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.2]); Mon, 30 Apr 2018 15:50:03 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.2]); Mon, 30 Apr 2018 15:50:03 +0000 (UTC) for IP:'10.11.54.5' DOMAIN:'int-mx05.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'david@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org >> >>> >>> -static void __meminit __init_single_page(struct page *page, unsigned long pfn, >>> +extern void __meminit init_single_page(struct page *page, unsigned long pfn, >> >> I've seen it in other places, but what is the point of having "extern" function in .c file? > > I've seen it all over the place, that's why I am using it :) (as I > basically had the same question). Can somebody answer that? BTW I was looking at the wrong file (header). This of course has to go! -- Thanks, David / dhildenb