Commit cda50cb2 authored by Wang Wensheng's avatar Wang Wensheng
Browse files

mm/sharepool: support fork() and exit() to handle the mm

ascend inclusion
category: Feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I8LNGH



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

The fork() will create the new mm for new process, the mm should not
take any information from the parent process, so need to clean it.

The exit() will mmput the mm and free the memory, if the mm is alrready
be used for sp_group, need to clean the group first.

Signed-off-by: default avatarWang Wensheng <wangwensheng4@huawei.com>
parent df165ba4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment