Commit 4a7002a0 authored by Ma Wupeng's avatar Ma Wupeng Committed by Wupeng Ma
Browse files

Revert "mm/mempolicy: don't handle MPOL_LOCAL like a fake MPOL_PREFERRED policy"

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


CVE: NA

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

This reverts commit d634f94d.

Revert this commit due to perf issue.

Introduce mpol_rebind_preferred_many to make rebind logic for
MPOL_PREFERRED_MANY right.

Make __mpol_equal to check nodes rather than preferred_node for
MPOL_PREFERRED_MANY to make logic right.

Signed-off-by: default avatarMa Wupeng <mawupeng1@huawei.com>
parent e2b3e0a4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment