Received: by 10.192.165.148 with SMTP id m20csp1625248imm; Thu, 10 May 2018 13:49:52 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrliWm7iwXBoTm1rVcRolkjNeXbyaE5KnbRKBS89+qVP5NrMQPe+e60/Ud0nYEIuY+xBw4o X-Received: by 2002:aa7:8084:: with SMTP id v4-v6mr2730446pff.105.1525985392056; Thu, 10 May 2018 13:49:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525985392; cv=none; d=google.com; s=arc-20160816; b=GA+J5KNMX/0ghUkXWXJZtyyVjqtcMkSlIjr7EwPtRDOG+pRKgJ9F2E4ovsH97ejX8h ohKfcS9KNktm0mswI7KqljA4zmTrkXRuZ6nASUxRwK/tNvGRU0hA+eCHsB94jVmaikNW ODwZuJ+Q5YWqVWKBvBqAoYA7JMQwmTBuW87UMHBWPfvwEIBYoEO/gJ2Dz22q/AmFL13p zIzg0+T/D0Ft5fWxsi+LQ9FgmvEdJp9+LjWDPotO3XmsdcPQGkPCObAg62dKnRBw2uHU CdrTrAYXSzyWoZYbelvS6KBZNG9n/5E8ZCwJyHY5+appxc2cNhjJn0RqQNHcGyaLn20w 5L6w== 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:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :arc-authentication-results; bh=PJFWXiDZr7z1hHDa7IFAyxrLecXwOsgOjsc1tCuMAk4=; b=Q+yHxaLbAzectZBfsz9f5YxftSh8sVaf5CytNOl0nOPJP5ztqG/FgIxHH1O5U/7WAP RJog93G2KCGt7ZRvtrttf5nXKhV/BewfyjtMEstWVcICbka8auQ/YnCQKW3y3NTmS5X+ qCoaonOb649Oh0+Et67ruMYa4fxxmGs54KJlFkRixXrF5aLugYwdkZ57Wvza0nF/d1eJ 9nGmvkaaXrIcH2BKTpWMIcDSojVWOmephHCz++KHTYv62lGx7Dq0OdoVpt5kmW2bSThn d7u3fKWehcEnqyNlFTQ8+IDNE50TsIp20yGrs1IclL0WKIUcqE+E4vjTpmrq5BvOoWUh pP4w== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s4-v6si1297802pgn.403.2018.05.10.13.49.31; Thu, 10 May 2018 13:49:51 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752483AbeEJUs3 (ORCPT + 99 others); Thu, 10 May 2018 16:48:29 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:33868 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752436AbeEJUs0 (ORCPT ); Thu, 10 May 2018 16:48:26 -0400 Received: from akpm3.svl.corp.google.com (unknown [104.133.9.71]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id EFF229F0; Thu, 10 May 2018 20:48:25 +0000 (UTC) Date: Thu, 10 May 2018 13:48:25 -0700 From: Andrew Morton To: Randy Dunlap Cc: Stephen Rothwell , Linux-Next Mailing List , Linux Kernel Mailing List , Linux MM , Mike Rapoport Subject: Re: linux-next: Tree for May 10 (mm/ksm.c) Message-Id: <20180510134825.372f4a7ec17ce3e945640ac2@linux-foundation.org> In-Reply-To: References: <20180510172842.2619e058@canb.auug.org.au> X-Mailer: Sylpheed 3.6.0 (GTK+ 2.24.31; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 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; _