Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp39768imm; Thu, 10 May 2018 15:04:02 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpCHmW/e6kfjzjXwK6lDexnTfu2NDhM5RLZWHVpyofX1HqgygOEuT+rGOFH2jDy5hgyou7N X-Received: by 2002:a63:9401:: with SMTP id m1-v6mr2426860pge.140.1525989842305; Thu, 10 May 2018 15:04:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525989842; cv=none; d=google.com; s=arc-20160816; b=w5gxiKGfP853B/xsIm6wRx7Otq9TbpLTg/bu52CB8rypVFcNHRH9SzhJPaA7YrQhtN s1KQVNoRM7zwGOd1Dbsy817QSr2IuWFkWFpaxokHmVbu2YBJRbbt947wRPxMKe7uor4a ur8ED4BCce1FbpWW6vKI+o5LFkKQf7sSTCCe6S0gdU7e3qVggvVkXL38WNhKcS3hnvJD cIcbOJyIFtEJ/Bil1jJzhDAM37tnrdnbrNRWt2DNSoEYEd9VwY0Oq8qvwEWpbrtCIyEF m5iqKiU3O1SN2ulJB3fwwAkGg/xyoBVepQrMDOeUG95cvL3xG07NpL8BOsZWWWU587WF jIDg== 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:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=8R0MC/zLlzQPZCxAWplXeDYPe3cdjgbajmQas65kyrk=; b=XaiGosusfWxWMWBKWykscpv4n2VWBkrDw9eXLRM3tFBLz6vMTqcm0votPxrIASXlvB I3ZiVMCGByn8vbnJjdupwH8603AubYh3q/XDS/NqkAx1oxBF918BYMHPL7woeDsNcS8g e885Ni3tw1Eei8TbwfleoK43iXtxGkE2UPnN9Etle4GyXJwgIr6BHKdj40S1GW0KDZ6P p86M0Kz0U+LpMOwpYg1+0+GwouszFcSq0V7RYZE9ph1PxMBUlu1Dlh72ACMeP4qIk4Nh UzQaxWSAiI7WWIAYE06Rxf1u6738KG2LLqSPK/fkyz+PrKr1SQN7H5K7je7Fk4K9eaWj S4sA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=XmjRNdkn; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q4-v6si1678180pll.10.2018.05.10.15.03.44; Thu, 10 May 2018 15:04:02 -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; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=XmjRNdkn; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752711AbeEJWDP (ORCPT + 99 others); Thu, 10 May 2018 18:03:15 -0400 Received: from merlin.infradead.org ([205.233.59.134]:48526 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752608AbeEJWDO (ORCPT ); Thu, 10 May 2018 18:03:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=8R0MC/zLlzQPZCxAWplXeDYPe3cdjgbajmQas65kyrk=; b=XmjRNdknE1v3zBmMsgSEtgoRTI 84QHonJ81gUUjh9bttTtbbo/16vIsjG4K7rNQlCf25/PvrNe0drn3Ll/+wfLNduR1LFYIgCH09Ts6 HvT7kCYCGDAknDU7JuULklmcoJVc//PjzuahB5M6EVngaIiQ3CNy2Kw4143NnKbCmzAhLGMQ6gNOq Pa342PSlplMrQsJxlA6SdiVQQT8R2O7bJeJyx+b9Q4R0WgFB6fQU49l/AutAbVO1coUAeYTwIKJpM t5+7SM4FBC8nqvMe93EDgVaRHWbBI4pVBqGfgCAEpoVzYOQ+Et0DxHylfYAScukTkltajKmRpfywa 3FTpKWHQ==; Received: from static-50-53-52-16.bvtn.or.frontiernet.net ([50.53.52.16] helo=midway.dunlab) by merlin.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1fGteX-0002em-KW; Thu, 10 May 2018 22:03:09 +0000 Subject: Re: linux-next: Tree for May 10 (mm/ksm.c) To: Andrew Morton Cc: Stephen Rothwell , Linux-Next Mailing List , Linux Kernel Mailing List , Linux MM , Mike Rapoport References: <20180510172842.2619e058@canb.auug.org.au> <20180510134825.372f4a7ec17ce3e945640ac2@linux-foundation.org> From: Randy Dunlap Message-ID: <91e95111-eb0c-205b-722b-18016da93c04@infradead.org> Date: Thu, 10 May 2018 15:03:04 -0700 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: <20180510134825.372f4a7ec17ce3e945640ac2@linux-foundation.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/10/2018 01:48 PM, Andrew Morton wrote: > On Thu, 10 May 2018 09:37:51 -0700 Randy Dunlap wrote: > >> On 05/10/2018 12:28 AM, Stephen Rothwell wrote: >>> Hi all, >>> >>> Changes since 20180509: >>> >> >> on i386: >> >> ../mm/ksm.c: In function 'try_to_merge_one_page': >> ../mm/ksm.c:1244:4: error: implicit declaration of function 'set_page_stable_node' [-Werror=implicit-function-declaration] >> set_page_stable_node(page, NULL); > > Thanks. > > From: Andrew Morton > Subject: mm-ksm-move-page_stable_node-from-ksmh-to-ksmc-fix > > fix SYSFS=n build > > Cc: Andrea Arcangeli > Cc: Mike Rapoport > Cc: Randy Dunlap Acked-by: Randy Dunlap Reported-by: Randy Dunlap Tested-by: Randy Dunlap > Cc: Stephen Rothwell > Signed-off-by: Andrew Morton > --- > > mm/ksm.c | 9 ++++----- > 1 file changed, 4 insertions(+), 5 deletions(-) > > diff -puN include/linux/ksm.h~mm-ksm-move-page_stable_node-from-ksmh-to-ksmc-fix include/linux/ksm.h > diff -puN mm/ksm.c~mm-ksm-move-page_stable_node-from-ksmh-to-ksmc-fix mm/ksm.c > --- a/mm/ksm.c~mm-ksm-move-page_stable_node-from-ksmh-to-ksmc-fix > +++ a/mm/ksm.c > @@ -823,11 +823,6 @@ static int unmerge_ksm_pages(struct vm_a > return err; > } > > -#ifdef CONFIG_SYSFS > -/* > - * Only called through the sysfs control interface: > - */ > - > static inline struct stable_node *page_stable_node(struct page *page) > { > return PageKsm(page) ? page_rmapping(page) : NULL; > @@ -839,6 +834,10 @@ static inline void set_page_stable_node( > page->mapping = (void *)((unsigned long)stable_node | PAGE_MAPPING_KSM); > } > > +#ifdef CONFIG_SYSFS > +/* > + * Only called through the sysfs control interface: > + */ > static int remove_stable_node(struct stable_node *stable_node) > { > struct page *page; > _ -- ~Randy