linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Matthew Wilcox <willy@infradead.org>
To: Chuck Lever <chuck.lever@oracle.com>
Cc: linux-mm <linux-mm@kvack.org>
Subject: Re: shrink_folio_list() does not compile on late-model kernels
Date: Tue, 8 Apr 2025 21:21:04 +0100	[thread overview]
Message-ID: <Z_WFMPkLhHCJFxgB@casper.infradead.org> (raw)
In-Reply-To: <4fbc7c21-bbfa-4bda-84de-39587ddcc4db@oracle.com>

On Tue, Apr 08, 2025 at 03:21:21PM -0400, Chuck Lever wrote:
> Hi-
> 
> Some of my CI runs have started failing to build v6.13+ kernels with:
> 
> mm/vmscan.c: In function ‘shrink_folio_list’:
> mm/vmscan.c:1082:21: error: implicit declaration of function
> ‘folio_contain_hwpoisoned_page’ [-Wimplicit-function-declaration]
>  1082 |                 if (folio_contain_hwpoisoned_page(folio)) {
>       |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> make[3]: *** [scripts/Makefile.build:196: mm/vmscan.o] Error 1
> make[2]: *** [scripts/Makefile.build:442: mm] Error 2
> make[2]: *** Waiting for unfinished jobs....
> make[1]: *** [/data/linux-stable-rc/Makefile:1989: .] Error 2
> make: *** [Makefile:251: __sub-make] Error 2
> 
> Is there a .config change I need to prevent this failure?

I don't see why folio_contain_hwpoisoned_page() wouldn't be declared.
Could you include your .config?


  reply	other threads:[~2025-04-08 20:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-08 19:21 Chuck Lever
2025-04-08 20:21 ` Matthew Wilcox [this message]
2025-04-08 20:25   ` Chuck Lever
2025-04-14 17:40   ` Chuck Lever

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Z_WFMPkLhHCJFxgB@casper.infradead.org \
    --to=willy@infradead.org \
    --cc=chuck.lever@oracle.com \
    --cc=linux-mm@kvack.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox