Skip to content
Snippets Groups Projects
Commit e3b129f2 authored by Sidhartha Kumar's avatar Sidhartha Kumar Committed by Frieder Schrempf
Browse files

mm/hugetlb: add hugetlb_folio_subpool() helpers

[ Upstream commit 149562f7 ]

Allow hugetlbfs_migrate_folio to check and read subpool information by
passing in a folio.

Link: https://lkml.kernel.org/r/20220922154207.1575343-4-sidhartha.kumar@oracle.com


Signed-off-by: default avatarSidhartha Kumar <sidhartha.kumar@oracle.com>
Reviewed-by: default avatarMike Kravetz <mike.kravetz@oracle.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Colin Cross <ccross@google.com>
Cc: David Howells <dhowells@redhat.com>
Cc: "Eric W . Biederman" <ebiederm@xmission.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: kernel test robot <lkp@intel.com>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Muchun Song <songmuchun@bytedance.com>
Cc: Peter Xu <peterx@redhat.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Cc: William Kucharski <william.kucharski@oracle.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Stable-dep-of: b76b4690 ("mm/hugetlb: fix missing hugetlb_lock for resv uncharge")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 615cafb8
No related branches found
No related tags found
1 merge request!151🤖 Sync Bot: Update v6.1-ktn to Latest Stable Kernel (v6.1.92)
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment