]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
um: Update min_low_pfn to match changes in uml_reserved
authorTiwei Bie <tiwei.btw@antgroup.com>
Fri, 21 Feb 2025 04:18:55 +0000 (12:18 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 4 Jun 2025 12:40:05 +0000 (14:40 +0200)
commitea4d9e1a6cac9a19fb0200a3930275c0685773a0
treebcfda36e40583dfd5173d28c5ff739547372c9e0
parentf8ddfaab46e78e50933dfd26ce86e45a2b2316e9
um: Update min_low_pfn to match changes in uml_reserved

[ Upstream commit e82cf3051e6193f61e03898f8dba035199064d36 ]

When uml_reserved is updated, min_low_pfn must also be updated
accordingly. Otherwise, min_low_pfn will not accurately reflect
the lowest available PFN.

Signed-off-by: Tiwei Bie <tiwei.btw@antgroup.com>
Link: https://patch.msgid.link/20250221041855.1156109-1-tiwei.btw@antgroup.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/um/kernel/mem.c