Commit 2a9df328 authored by Liu Shixin's avatar Liu Shixin
Browse files

mm/dynamic_hugetlb: set PagePool to bad page

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


CVE: NA

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

Before discard the bad page, set PagePool flag to distinguish from free
page. And increase used_pages to guarantee used + freed = total.

Signed-off-by: default avatarLiu Shixin <liushixin2@huawei.com>
parent e5d96a31
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment