From: Yang Shi <yang@os.amperecomputing.com>
To: Sasha Levin <sashal@kernel.org>
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: Thu, 8 Aug 2024 11:26:05 -0700 [thread overview]
Message-ID: <1be3a4fc-bcad-4237-bc9c-8b476e25fde4@os.amperecomputing.com> (raw)
In-Reply-To: <ZrQYbLGWVf9zOT1p@sashalap>
On 8/7/24 5:59 PM, Sasha Levin wrote:
> 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...
Oops, CONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE_PUD is not available on
arm64 (my build machine). It is also a problem for 6.9. Will send v2 soon.
>
> 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
>
parent reply other threads:[~2024-08-08 18:26 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <ZrQYbLGWVf9zOT1p@sashalap>]
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=1be3a4fc-bcad-4237-bc9c-8b476e25fde4@os.amperecomputing.com \
--to=yang@os.amperecomputing.com \
--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=sashal@kernel.org \
--cc=stable@vger.kernel.org \
--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