From: Bharata B Rao <bharata@amd.com>
To: Dave Hansen <dave.hansen@intel.com>,
linux-kernel@vger.kernel.org, linux-mm@kvack.org
Cc: Dave Hansen <dave.hansen@linux.intel.com>,
luto@kernel.org, peterz@infradead.org, tglx@linutronix.de,
mingo@redhat.com, bp@alien8.de, x86@kernel.org, hpa@zytor.com,
nikunj@amd.com, Balbir Singh <balbirs@nvidia.com>,
kees@kernel.org, alexander.deucher@amd.com
Subject: Re: AMD GPU driver load hitting BUG_ON in sync_global_pgds_l5()
Date: Thu, 24 Apr 2025 18:24:06 +0530 [thread overview]
Message-ID: <c759d3c3-eeba-4790-9c34-7e9671e94311@amd.com> (raw)
In-Reply-To: <2cba2ae9-e29d-4eab-a77a-678be0b09a58@intel.com>
On 23-Apr-25 9:31 PM, Dave Hansen wrote:
> On 4/23/25 02:30, Bharata B Rao wrote:
>> On 22-Apr-25 8:43 PM, Dave Hansen wrote:
>>> On 4/21/25 23:34, Bharata B Rao wrote:
>>>> At the outset, it appears that the selection of vmemmap_base doesn't
>>>> seem to consider if there is going to be enough room of accommodating
>>>> future hot plugged pages.
>>>
>>> Is this future hotplug area in the memory map at boot?
>>
>> The KVM guest isn't using any -m maxmem option if that's what you are
>> hinting at.
>
> How could vmemmap_base consider future hotplug areas if it isn't told
> where they will be?
This is device private memory which means only struct pages need to be
mapped. What's the way by which kernel will know about the future growth
in the number of struct pages to accommodate the incoming device private
memory?
In any case, how can kaslr put vmemmap_base completely out of the range
earmarked for it in mm.rst?
Regards,
Bharata.
prev parent reply other threads:[~2025-04-24 12:54 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-22 6:34 Bharata B Rao
2025-04-22 7:14 ` Balbir Singh
2025-04-22 8:28 ` Bharata B Rao
2025-04-23 6:40 ` Bharata B Rao
2025-04-22 15:13 ` Dave Hansen
2025-04-23 9:30 ` Bharata B Rao
2025-04-23 16:01 ` Dave Hansen
2025-04-24 12:54 ` Bharata B Rao [this message]
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=c759d3c3-eeba-4790-9c34-7e9671e94311@amd.com \
--to=bharata@amd.com \
--cc=alexander.deucher@amd.com \
--cc=balbirs@nvidia.com \
--cc=bp@alien8.de \
--cc=dave.hansen@intel.com \
--cc=dave.hansen@linux.intel.com \
--cc=hpa@zytor.com \
--cc=kees@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=luto@kernel.org \
--cc=mingo@redhat.com \
--cc=nikunj@amd.com \
--cc=peterz@infradead.org \
--cc=tglx@linutronix.de \
--cc=x86@kernel.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