Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp2584474pxb; Thu, 10 Feb 2022 00:31:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJyVOcN3hMRLQfSLX4ZJRCAlEv42OsZ2IrgmVw8u5WcminmtB9k/NVtSKkQvAkmp9dSg8j2O X-Received: by 2002:a17:907:96a9:: with SMTP id hd41mr5464888ejc.334.1644481881981; Thu, 10 Feb 2022 00:31:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644481881; cv=none; d=google.com; s=arc-20160816; b=u8wAedEg4Zk7+VxTYCBPTgefECYjzNzUb2n1uHQLUbeU5VzSg9xgsPnBc+ZWbwflX6 M+FvZysleeXavHsvNYUaVFXG/L0c0TPDmFC9UuyDwRXI8JPLQBo1qtmuwh8IF3SUkiTr S4g0h+anbLK5aPqW/cKH8abcenumFCjm2Fzrv+GZB72al+z8m+5uHp8qAJskg2pGkFOo iEknQhNg+qNOjWdIcADDZ42z0FKrWNFS5N3qQvuz3XafhzIK75d14Pi5kmVGqaeXOXKF Yr/nlfh/0RTsL/uZY7V33SgD1OGI5RbstAVUmro6oDQiQftr7yDzOUz1/hBmhH79pqdP tsFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:message-id:in-reply-to :subject:cc:to:from:date:dkim-signature; bh=4Jobq+qDCn0DLQoMGzu/G3IUm/o1eD+lCYxdsTeODFA=; b=Aprr9naLU5OAZR0wXDwwEziTWYgdgY42swzBKaMQ91mppKP/xUn9erHkCM5k97MX/s oZVbY0UhCV5TPT8RWTLwjejGNeYXKOPnEnGBGAWwctErv1pclsMY+/Z/bDvRjudQnW0X Kv9WFFocvofd0JEVsY8kmAPiwEOTALMDf9wKf4UGCjG3zG3+DYU9dr3BV6sLYDw57wnF 7eBe+S6gqpRALVDGj2RkxPueTnu5Wa+nK19W3w+M5MSsy4cn17XSiQmSYbpUFy5X6MuL 8NqxocsMYNfdiowLMpaFsuOUH6BBGB2O660JUQ1zk/a9sFxZ+3q0Uwm4Oyqi/9krn9Xf cGPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=eMQ6xiBu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l5si3964438edr.560.2022.02.10.00.30.57; Thu, 10 Feb 2022 00:31:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=eMQ6xiBu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233508AbiBJEuC (ORCPT + 99 others); Wed, 9 Feb 2022 23:50:02 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:36378 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232519AbiBJEuA (ORCPT ); Wed, 9 Feb 2022 23:50:00 -0500 Received: from mail-oo1-xc34.google.com (mail-oo1-xc34.google.com [IPv6:2607:f8b0:4864:20::c34]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 25C211AF for ; Wed, 9 Feb 2022 20:50:02 -0800 (PST) Received: by mail-oo1-xc34.google.com with SMTP id o192-20020a4a2cc9000000b00300af40d795so4985509ooo.13 for ; Wed, 09 Feb 2022 20:50:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:from:to:cc:subject:in-reply-to:message-id:references :mime-version; bh=4Jobq+qDCn0DLQoMGzu/G3IUm/o1eD+lCYxdsTeODFA=; b=eMQ6xiBu0oXza2qERH659vL16F0VUyIma1jeN615rGln+fqxBmCvgJJMDQMpXj3Htz fqLKpO5zBluZw2dRoGTBPQtmBFe4gZnJVBAnVVpAfqJopBJNTvEyFCzXz+IvT8WtBEb/ TOIZCormeBiQNpmgjl+n2DuK73sIO21Fn1TzPbb7A8ret3wM0uhdcemHRSLVjgW5TmUm I3i/LGF4q+4DjouvSdpz7/mdm7wsBA7dS0fQv3FN+x/XV225OQ+B+F6VK6PbZ+tCLEkI 03w/SzLpNEUp8GilFe8L/bbelpC6iLr+fX2fUhUUFwPdwm3rtP76uBmUWBA852LybRZt aG9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:in-reply-to:message-id :references:mime-version; bh=4Jobq+qDCn0DLQoMGzu/G3IUm/o1eD+lCYxdsTeODFA=; b=28985lihz/mFbjr/3MCL1VYQhZ1AIFrslMkG9FWo6Sss2QMMoUoY+UBiRMYbL/ifeT mx44qgb75KnDjWssDmJNkOieGvDpm7N2J/ekVTeDqkF5A7wUgFeF7FVwx10QNGMM1nfm Q5Mfhpnm1ADZOXvNOMiPVQLkbqDClQQLFmjc+UbQOkA/1ro7ohsuP/i/5Xy50b2+ZSOm BMeSpzUjTt9teXuyqNqZv8r8HynFsmGl5A0ogOsRPJO5BzsEwnu2lL1ahOG5Ec3Itv+8 L/WKsbeoaq7gQr0MeUKSLE7Q5W7gC0LsrS6a8LFsrEHaVjIKZzj6benD/uPvYIppBvLi OS2w== X-Gm-Message-State: AOAM533Dry0QjbLi9f5GoOj+e7Rx6YIoWFBtFSeyddJFXxPFYd3VPN6e 4dzaVVmxT7dXm6YEzHw1LdErJw== X-Received: by 2002:a05:6871:583:: with SMTP id u3mr254881oan.189.1644468600735; Wed, 09 Feb 2022 20:50:00 -0800 (PST) Received: from ripple.attlocal.net (172-10-233-147.lightspeed.sntcca.sbcglobal.net. [172.10.233.147]) by smtp.gmail.com with ESMTPSA id f21sm7364939otq.4.2022.02.09.20.49.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Feb 2022 20:49:59 -0800 (PST) Date: Wed, 9 Feb 2022 20:49:57 -0800 (PST) From: Hugh Dickins X-X-Sender: hugh@ripple.anvils To: Naresh Kamboju cc: open list , Linux-Next Mailing List , regressions@lists.linux.dev, lkft-triage@lists.linaro.org, Hugh Dickins , Alistair Popple , David Hildenbrand , Greg Thelen , Johannes Weiner , "Kirill A. Shutemov" , Matthew Wilcox , Michal Hocko , Rik van Riel , Shakeel Butt , Suren Baghdasaryan , Vlastimil Babka , Yu Zhao , Andrew Morton Subject: Re: mm/munlock: mlock_page() munlock_page() batch by pagevec In-Reply-To: Message-ID: <5d63a397-96e-7e9a-eb9f-289904f9998@google.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 9 Feb 2022, Naresh Kamboju wrote: > The following build regression noticed while building Linux next 20220209 > arm/riscv/sh of allnoconfig and tinyconfig builds failed with gcc-10, > gcc-11 and clang-13. > > clang: warning: argument unused during compilation: '-march=armv7-m' > [-Wunused-command-line-argument] > mm/swap.c:637:2: error: implicit declaration of function > 'mlock_page_drain' [-Werror,-Wimplicit-function-declaration] > mlock_page_drain(cpu); > ^ > 1 error generated. > make[2]: *** [scripts/Makefile.build:289: mm/swap.o] Error 1 > > Reported-by: Linux Kernel Functional Testing Thanks Naresh, Geert had already reported, and SeongJae sent a fix in https://lore.kernel.org/lkml/20220209094158.21941-2-sj@kernel.org/ Turns out that a !CONFIG_MMU CONFIG_SMP config will need one more stub, I just sent a v2 update to SJ's patch in that thread. Hugh