Commit b9676dea authored by Liu Shixin's avatar Liu Shixin Committed by openeuler-sync-bot
Browse files

mm/dynamic_hugetlb: isolate hugepage without dissolve

hulk inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I6XOIE


CVE: NA

--------------------------------

The memory hotplug and memory failure will dissolve freed hugepages to
buddy system, this is not the expected behavior for dynamic hugetlb.
Skip the dissolve operation for hugepages belonging to dynamic hugetlb.
For memory hotplug, the hotplug operation is not allowed, if dhugetlb
pool existed. For memory failure, the hugepage will be discard directly.

Signed-off-by: default avatarLiu Shixin <liushixin2@huawei.com>
(cherry picked from commit 2430060b)
parent 8b0a5ac3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment