* Re: mm/munlock: mlock_page() munlock_page() batch by pagevec
@ 2022-02-09 14:57 Naresh Kamboju
2022-02-10 4:49 ` Hugh Dickins
0 siblings, 1 reply; 2+ messages in thread
From: Naresh Kamboju @ 2022-02-09 14:57 UTC (permalink / raw)
To: open list, Linux-Next Mailing List, regressions, lkft-triage
Cc: 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
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 <lkft@linaro.org>
--
Linaro LKFT
https://lkft.linaro.org
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: mm/munlock: mlock_page() munlock_page() batch by pagevec
2022-02-09 14:57 mm/munlock: mlock_page() munlock_page() batch by pagevec Naresh Kamboju
@ 2022-02-10 4:49 ` Hugh Dickins
0 siblings, 0 replies; 2+ messages in thread
From: Hugh Dickins @ 2022-02-10 4:49 UTC (permalink / raw)
To: Naresh Kamboju
Cc: open list, Linux-Next Mailing List, regressions, lkft-triage,
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
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 <lkft@linaro.org>
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-02-10 4:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-09 14:57 mm/munlock: mlock_page() munlock_page() batch by pagevec Naresh Kamboju
2022-02-10 4:49 ` Hugh Dickins
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).