Commit 4634ef55 authored by Nanyong Sun's avatar Nanyong Sun
Browse files

mm/ksm: generalize ksm_process_profit

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


CVE: NA

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

The ksm_process_profit() was only used by procfs before, so it is built
under CONFIG_PROC_FS. Now memcg with ksm also call it, so delete the
CONFIG_PROC_FS compilation dependency to make it more general.

Fixes: 8bafb5ea ("memcg: support ksm merge any mode per cgroup")
Signed-off-by: default avatarNanyong Sun <sunnanyong@huawei.com>
parent e076c150
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment