mm: swap_slots: add per-type slot cache
hulk inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8QK6Q CVE: NA -------------------------------- Since we support per-memcg swapfile control, we need per-type slot cache to optimize performance. To reduce memory waste, allocate per-type slot cache when enable feature or online the corresponding swap device. Signed-off-by:Liu Shixin <liushixin2@huawei.com> Signed-off-by:
Jinjiang Tu <tujinjiang@huawei.com>
Loading
Please sign in to comment