Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp440304imm; Fri, 11 May 2018 00:18:54 -0700 (PDT) X-Google-Smtp-Source: AB8JxZppi/K6yLIU5jc6V+9X2QkvgPx0tQWvyGQU1QUcWJ4ahakbda9Ku7t/zylw4bdzGjTHof3n X-Received: by 2002:a17:902:bcc9:: with SMTP id o9-v6mr4450250pls.56.1526023134157; Fri, 11 May 2018 00:18:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526023134; cv=none; d=google.com; s=arc-20160816; b=Ew3tmSNgw2frs793kbj9jg4DucSM6al75/v/K9sq7pYBl3frXp+OpRLRJf/w/9XoeC sn0V5MKu1lGDiRnwYbLwOKDe9S+OzhqAit2xaF3Oiu+T9LFNoZyXZqoLvZhu7fOGxxXG uNC4Xit2tLKL8wCi5xAvWKKZ5ZnHm/8rM0ayRQ499ogGMN05w2jPsRswulY8VeRVLS6d FCYXlT7TNnf0CcToFkoyEj0qdQmvAeBXKJiqOJLd3+lbrsFRgs+y79g6b9WU/sAe35bg AYuxUtIZTY3LSEEDm0hm3250FOPfxuqmWNc7CNKmvif1vV8Eqf1f8aMhoKA9/oYn13wx W0mg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:from:cc:to:subject :content-transfer-encoding:mime-version:references:in-reply-to :user-agent:date:arc-authentication-results; bh=mHg7z2Fv5Si5du00YskDmwUkdqJOvuChB8Jk92s7axU=; b=Sk+EZVmR0Wfl5jAqM+CcXztQq8JFuWn2W/NDP5QNxmXEyV7p6wft3d4SYWpUSmxdn5 YGvQcrzzeTnIuln4sPlOX/n9s7eFCcy///VXWPuf6blTbcBHrzPoFHiGnxxDJCjPqu1l nwiJ27QqwBbt3LhPlxl6OA6yeznHL5r7GL+sIYq16T0t9vTKKHehhFAy28J+QBwRs7c9 PZknVUxBjrJAeX7MCAHMU4xZqrPmMAtfW2CfgUd70iIgqsw+0JXG6QqQX79zzGaomvfM togU2RSQ0pe/OB4s9HbuA7Dwino6nnLqbYyf4blkaMnN+e485LZaCYMNTocPOTiZrdDR TgWg== 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=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p1-v6si2469301pld.218.2018.05.11.00.18.39; Fri, 11 May 2018 00:18:54 -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=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752471AbeEKHRV convert rfc822-to-8bit (ORCPT + 99 others); Fri, 11 May 2018 03:17:21 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:57876 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752153AbeEKHRT (ORCPT ); Fri, 11 May 2018 03:17:19 -0400 Received: from pps.filterd (m0098414.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w4B7Ekoq082450 for ; Fri, 11 May 2018 03:17:19 -0400 Received: from e06smtp15.uk.ibm.com (e06smtp15.uk.ibm.com [195.75.94.111]) by mx0b-001b2d01.pphosted.com with ESMTP id 2hw3u6ptrn-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 11 May 2018 03:17:18 -0400 Received: from localhost by e06smtp15.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 11 May 2018 08:17:17 +0100 Received: from b06cxnps4076.portsmouth.uk.ibm.com (9.149.109.198) by e06smtp15.uk.ibm.com (192.168.101.145) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Fri, 11 May 2018 08:17:14 +0100 Received: from d06av22.portsmouth.uk.ibm.com (d06av22.portsmouth.uk.ibm.com [9.149.105.58]) by b06cxnps4076.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w4B7HDMt66715826 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 11 May 2018 07:17:14 GMT Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 7079D4C04E; Fri, 11 May 2018 08:09:11 +0100 (BST) Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 2B4804C04A; Fri, 11 May 2018 08:09:11 +0100 (BST) Received: from [9.148.204.233] (unknown [9.148.204.233]) by d06av22.portsmouth.uk.ibm.com (Postfix) with ESMTP; Fri, 11 May 2018 08:09:11 +0100 (BST) Date: Fri, 11 May 2018 10:17:05 +0300 User-Agent: K-9 Mail for Android In-Reply-To: <91e95111-eb0c-205b-722b-18016da93c04@infradead.org> References: <20180510172842.2619e058@canb.auug.org.au> <20180510134825.372f4a7ec17ce3e945640ac2@linux-foundation.org> <91e95111-eb0c-205b-722b-18016da93c04@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT Subject: Re: linux-next: Tree for May 10 (mm/ksm.c) To: Randy Dunlap , Andrew Morton CC: Stephen Rothwell , Linux-Next Mailing List , Linux Kernel Mailing List , Linux MM From: Mike Rapoprt X-TM-AS-GCONF: 00 x-cbid: 18051107-0020-0000-0000-0000041C2A41 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18051107-0021-0000-0000-000042B12BAB Message-Id: <5574BF43-F2BB-4A19-BCCE-37F402DCED06@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-05-11_03:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1805110068 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On May 11, 2018 1:03:04 AM GMT+03:00, Randy Dunlap wrote: >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); Oops, missed that, sorry. >> 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 Acked-by: Mike Rapoport >> 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; >> _