mm: page_eject: Introuduce page ejection
hulk inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8K5CO -------------------------------- Page ejection is achieved by soft_offline_page and unpoison_memory. A linked list is maintained to log the pfns which are offlined by this module. Only the pfns present in the list is allowed to go online. The follow sysfs is introduced to online/offline page via this module, since there is a internal linked list to record all offlined pages, remove_page is introduced when a user no longer wishes to online this particular page. To reduce the length of the internal list, this function removes the specified page from the list. - /sys/kernel/page_eject/online_page - /sys/kernel/page_eject/offline_page - /sys/kernel/page_eject/remove_page Signed-off-by:Ma Wupeng <mawupeng1@huawei.com>
Loading
Please sign in to comment