Linux kernel -stable discussions
 help / color / mirror / Atom feed
From: Sasha Levin <sashal@kernel.org>
To: Yang Shi <yang@os.amperecomputing.com>
Cc: gregkh@linuxfoundation.org, yangge1116@126.com,
	hch@infradead.org, david@redhat.com, peterx@redhat.com,
	akpm@linux-foundation.org, linux-mm@kvack.org,
	stable@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [v6.6-stable PATCH] mm: gup: stop abusing try_grab_folio
Date: Wed, 7 Aug 2024 20:59:24 -0400	[thread overview]
Message-ID: <ZrQYbLGWVf9zOT1p@sashalap> (raw)
In-Reply-To: <20240806193037.1826490-1-yang@os.amperecomputing.com>

On Tue, Aug 06, 2024 at 12:30:36PM -0700, Yang Shi wrote:
>commit f442fa6141379a20b48ae3efabee827a3d260787 upstream
>
>A kernel warning was reported when pinning folio in CMA memory when
>launching SEV virtual machine.  The splat looks like:

[snip]

This doesn't compile on 6.6...

mm/huge_memory.c: In function 'follow_devmap_pud':
mm/huge_memory.c:1213:8: error: implicit declaration of function 'try_grab_page'; did you mean 'try_get_page'? [-Werror=implicit-function-declaration]
  1213 |  ret = try_grab_page(page, flags);
       |        ^~~~~~~~~~~~~
       |        try_get_page

-- 
Thanks,
Sasha

  parent reply	other threads:[~2024-08-08  0:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-06 19:30 [v6.6-stable PATCH] mm: gup: stop abusing try_grab_folio Yang Shi
2024-08-06 19:30 ` [v6.9-stable " Yang Shi
2024-08-08  0:59 ` Sasha Levin [this message]
2024-08-08 18:26   ` [v6.6-stable " Yang Shi

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=ZrQYbLGWVf9zOT1p@sashalap \
    --to=sashal@kernel.org \
    --cc=akpm@linux-foundation.org \
    --cc=david@redhat.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=hch@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=peterx@redhat.com \
    --cc=stable@vger.kernel.org \
    --cc=yang@os.amperecomputing.com \
    --cc=yangge1116@126.com \
    /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