From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.7 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4AB01C4338F for ; Fri, 6 Aug 2021 05:00:44 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id DBC48611CB for ; Fri, 6 Aug 2021 05:00:43 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org DBC48611CB Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvack.org Received: by kanga.kvack.org (Postfix) id 0B5FB6B006C; Fri, 6 Aug 2021 01:00:43 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 065A86B0071; Fri, 6 Aug 2021 01:00:43 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id EBD138D0001; Fri, 6 Aug 2021 01:00:42 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0072.hostedemail.com [216.40.44.72]) by kanga.kvack.org (Postfix) with ESMTP id D000E6B006C for ; Fri, 6 Aug 2021 01:00:42 -0400 (EDT) Received: from smtpin40.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id 7D5CA824999B for ; Fri, 6 Aug 2021 05:00:42 +0000 (UTC) X-FDA: 78443455524.40.71E2D5F Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) by imf20.hostedemail.com (Postfix) with ESMTP id 620C4D004993 for ; Fri, 6 Aug 2021 05:00:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:Content-Type :In-Reply-To:MIME-Version:Date:Message-ID:From:References:To:Subject:Sender: Reply-To:Cc:Content-ID:Content-Description; bh=mfp3lcLiizP+Ov0M2vzQv+FyVnyAM3p7EE1c6hFSDvk=; b=IyhXPpT63kcorJUwTft/59RsDJ cU2CHG/+cfemuM+XwBi0Q/c4fLiMlVuGUKEDWvJbM1uwwYUwXX5I+H1zcoOlWmE3KHx/jnYztsg7+ AO8gm0o1UH/WdMuz4CuCl9u/KJjT/dxCeO5q7rHUIGZJOaMCxNPn+tNy73JEB7doHjUxUuRU+/uG9 Urgwvz9cqJUBdVEgrGDGLP3tyLDTJZMWAVm/dy1IPnW/ukLqu8IsOUk18YCrxk17Uba8LOUavdWTk OKGVbEg4KIt5YuOVJo3IUWxkQC+h/RUnDAoWiqne/17TW+4E3zzwORCpVmV6+vPLf9aV/YD2EGRLA YiwcKGZA==; Received: from [2601:1c0:6280:3f0::aa0b] by desiato.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1mBrxx-006GOr-3t; Fri, 06 Aug 2021 05:00:17 +0000 Subject: Re: mmotm 2021-08-05-19-46 uploaded (mm/filemap.c) To: akpm@linux-foundation.org, broonie@kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-next@vger.kernel.org, mhocko@suse.cz, mm-commits@vger.kernel.org, sfr@canb.auug.org.au, Matthew Wilcox , SeongJae Park References: <20210806024648.V0Ye_YURy%akpm@linux-foundation.org> From: Randy Dunlap Message-ID: <43bf8d13-505c-35b3-c865-a62bdcbafcf8@infradead.org> Date: Thu, 5 Aug 2021 22:00:11 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 MIME-Version: 1.0 In-Reply-To: <20210806024648.V0Ye_YURy%akpm@linux-foundation.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US X-Rspamd-Server: rspam04 X-Rspamd-Queue-Id: 620C4D004993 Authentication-Results: imf20.hostedemail.com; dkim=pass header.d=infradead.org header.s=desiato.20200630 header.b=IyhXPpT6; dmarc=none; spf=none (imf20.hostedemail.com: domain of rdunlap@infradead.org has no SPF policy when checking 90.155.92.199) smtp.mailfrom=rdunlap@infradead.org X-Stat-Signature: 4iydybg5rh5ruhy7qoryyajnbqt1nrmn X-HE-Tag: 1628226041-837389 Content-Transfer-Encoding: quoted-printable X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On 8/5/21 7:46 PM, akpm@linux-foundation.org wrote: > The mm-of-the-moment snapshot 2021-08-05-19-46 has been uploaded to >=20 > https://www.ozlabs.org/~akpm/mmotm/ >=20 > mmotm-readme.txt says >=20 > README for mm-of-the-moment: >=20 > https://www.ozlabs.org/~akpm/mmotm/ >=20 > This is a snapshot of my -mm patch queue. Uploaded at random hopefully > more than once a week. >=20 > You will need quilt to apply these patches to the latest Linus release = (5.x > or 5.x-rcY). The series file is in broken-out.tar.gz and is duplicated= in > https://ozlabs.org/~akpm/mmotm/series >=20 > The file broken-out.tar.gz contains two datestamp files: .DATE and > .DATE-yyyy-mm-dd-hh-mm-ss. Both contain the string yyyy-mm-dd-hh-mm-ss= , > followed by the base kernel version against which this patch series is = to > be applied. on i386, I am seeing lots of build errors due to references to some PAGE_ flags that are only defined for 64BIT: In file included from ../mm/filemap.c:44:0: ../include/linux/page_idle.h: In function =E2=80=98folio_test_young=E2=80= =99: ../include/linux/page_idle.h:25:18: error: =E2=80=98PAGE_EXT_YOUNG=E2=80=99= undeclared (first use in this function); did you mean =E2=80=98PAGEOUTRU= N=E2=80=99? return test_bit(PAGE_EXT_YOUNG, &page_ext->flags); ^~~~~~~~~~~~~~ PAGEOUTRUN ../include/linux/page_idle.h:25:18: note: each undeclared identifier is r= eported only once for each function it appears in ../include/linux/page_idle.h:25:43: error: dereferencing pointer to incom= plete type =E2=80=98struct page_ext=E2=80=99 return test_bit(PAGE_EXT_YOUNG, &page_ext->flags); ^~ ../include/linux/page_idle.h: In function =E2=80=98folio_set_young=E2=80=99= : ../include/linux/page_idle.h:35:10: error: =E2=80=98PAGE_EXT_YOUNG=E2=80=99= undeclared (first use in this function); did you mean =E2=80=98PAGEOUTRU= N=E2=80=99? set_bit(PAGE_EXT_YOUNG, &page_ext->flags); ^~~~~~~~~~~~~~ PAGEOUTRUN ../include/linux/page_idle.h: In function =E2=80=98folio_test_clear_young= =E2=80=99: ../include/linux/page_idle.h:45:28: error: =E2=80=98PAGE_EXT_YOUNG=E2=80=99= undeclared (first use in this function); did you mean =E2=80=98PAGEOUTRU= N=E2=80=99? return test_and_clear_bit(PAGE_EXT_YOUNG, &page_ext->flags); ^~~~~~~~~~~~~~ PAGEOUTRUN ../include/linux/page_idle.h: In function =E2=80=98folio_test_idle=E2=80=99= : ../include/linux/page_idle.h:55:18: error: =E2=80=98PAGE_EXT_IDLE=E2=80=99= undeclared (first use in this function); did you mean =E2=80=98CPU_NOT_I= DLE=E2=80=99? return test_bit(PAGE_EXT_IDLE, &page_ext->flags); ^~~~~~~~~~~~~ CPU_NOT_IDLE AS arch/x86/crypto/twofish-i586-asm_32.o AR arch/x86/events/zhaoxin/built-in.a ../include/linux/page_idle.h: In function =E2=80=98folio_set_idle=E2=80=99= : ../include/linux/page_idle.h:65:10: error: =E2=80=98PAGE_EXT_IDLE=E2=80=99= undeclared (first use in this function); did you mean =E2=80=98CPU_NOT_I= DLE=E2=80=99? set_bit(PAGE_EXT_IDLE, &page_ext->flags); ^~~~~~~~~~~~~ CPU_NOT_IDLE ../include/linux/page_idle.h: In function =E2=80=98folio_clear_idle=E2=80= =99: ../include/linux/page_idle.h:75:12: error: =E2=80=98PAGE_EXT_IDLE=E2=80=99= undeclared (first use in this function); did you mean =E2=80=98CPU_NOT_I= DLE=E2=80=99? clear_bit(PAGE_EXT_IDLE, &page_ext->flags); ^~~~~~~~~~~~~ CPU_NOT_IDLE CC mm/kfence/kfence_test.o CC arch/x86/events/intel/uncore_nhmex.o CC arch/x86/platform/atom/punit_atom_debug.o ../include/linux/page_idle.h: In function =E2=80=98folio_test_idle=E2=80=99= : ../include/linux/page_idle.h:56:1: error: control reaches end of non-void= function [-Werror=3Dreturn-type] } See: --- a/include/linux/page_ext.h~mm-idle_page_tracking-make-pg_idle-reusabl= e +++ a/include/linux/page_ext.h @@ -19,7 +19,7 @@ struct page_ext_operations { enum page_ext_flags { PAGE_EXT_OWNER, PAGE_EXT_OWNER_ALLOCATED, -#if defined(CONFIG_IDLE_PAGE_TRACKING) && !defined(CONFIG_64BIT) +#if defined(CONFIG_PAGE_IDLE_FLAG) && !defined(CONFIG_64BIT) PAGE_EXT_YOUNG, PAGE_EXT_IDLE, #endif --=20 ~Randy Reported-by: Randy Dunlap